Skip to content

Commit 1492106

Browse files
committed
Fix hook args for after-revert-hook
1 parent beec95a commit 1492106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ This is written mainly to be used as `end-of-defun-function' for Rust."
13161316
(setq-local end-of-defun-function 'rust-end-of-defun)
13171317
(setq-local parse-sexp-lookup-properties t)
13181318
(setq-local electric-pair-inhibit-predicate 'rust-electric-pair-inhibit-predicate-wrap)
1319-
(add-hook 'after-revert-hook 'rust--after-revert-hook 'LOCAL)
1319+
(add-hook 'after-revert-hook 'rust--after-revert-hook nil t)
13201320
(add-hook 'before-save-hook 'rust--before-save-hook nil t))
13211321

13221322
;;;###autoload

0 commit comments

Comments
 (0)