summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore6
-rw-r--r--rust-cargo.el2
-rw-r--r--rust-compile.el2
3 files changed, 5 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 2835be6..3d9cc85 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
*.elc
*-autoloads.el
-
-.eask
-/dist
+/rust-mode-pkg.el
+ .eask
+/dist \ No newline at end of file
diff --git a/rust-cargo.el b/rust-cargo.el
index 090945a..0c35ddb 100644
--- a/rust-cargo.el
+++ b/rust-cargo.el
@@ -64,7 +64,7 @@
(when rust-always-locate-project-on-open
(rust-update-buffer-project)))
-(add-hook 'rust-mode-hook 'rust-maybe-initialize-buffer-project)
+(add-hook 'rust-mode-hook #'rust-maybe-initialize-buffer-project)
;;; Internal
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)