summaryrefslogtreecommitdiff
path: root/rust-compile.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-compile.el')
-rw-r--r--rust-compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-compile.el b/rust-compile.el
index 78a53cf..1bb3103 100644
--- a/rust-compile.el
+++ b/rust-compile.el
@@ -76,7 +76,7 @@ the compilation window until the top of the error is visible."
(add-to-list 'compilation-error-regexp-alist-alist
(cons 'cargo cargo-compilation-regexps))
(add-to-list 'compilation-error-regexp-alist 'cargo)
- (add-hook 'next-error-hook 'rustc-scroll-down-after-next-error)))
+ (add-hook 'next-error-hook #'rustc-scroll-down-after-next-error)))
;;; _
(provide 'rust-compile)