summaryrefslogtreecommitdiff
path: root/rust-compile.el
diff options
context:
space:
mode:
authorbrotzeit <brotzeitmacher@gmail.com>2022-08-18 14:52:15 +0200
committerbrotzeit <brotzeitmacher@gmail.com>2022-08-18 14:52:15 +0200
commit69787524442784b1d5835791012db99680f51fe9 (patch)
treea04a10b1e067a9ce0f73ee01d5321f76ca1067a2 /rust-compile.el
parent7bff48894dc532caf4010be3060370d315ef75f6 (diff)
downloadrust-mode-69787524442784b1d5835791012db99680f51fe9.tar.gz
fixes
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)