Skip to content

Commit

Permalink
Merge pull request brotzeit#11 from emacs-rustic/fix-clippy-goto-error
Browse files Browse the repository at this point in the history
Support goto-error like 'compile' for 'clippy'
  • Loading branch information
CeleritasCelery authored May 17, 2024
2 parents f7a27a6 + 9ebb428 commit 8d319e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustic-compile.el
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Buffers are formatted after saving if turned on by `rustic-format-trigger'."
"Provide possibility use `compile-goto-error' on line numbers in compilation buffers.
This hook checks if there's a line number at the beginning of the
current line in an error section."
(-if-let* ((rustic-p (eq major-mode 'rustic-compilation-mode))
(-if-let* ((rustic-p (derived-mode-p 'rustic-compilation-mode))
(default-directory rustic-compilation-workspace)
(line-contents (buffer-substring-no-properties
(line-beginning-position)
Expand Down

0 comments on commit 8d319e0

Please sign in to comment.