emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/anzu e46563628d 234/288: Use "#'" instead of "'" for detec


From: ELPA Syncer
Subject: [nongnu] elpa/anzu e46563628d 234/288: Use "#'" instead of "'" for detecting typo
Date: Thu, 6 Jan 2022 03:58:56 -0500 (EST)

branch: elpa/anzu
commit e46563628d0cebfd6c9beb47b7016e516acabbbc
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@gmail.com>

    Use "#'" instead of "'" for detecting typo
---
 anzu.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/anzu.el b/anzu.el
index 72124e207a..d0074237cd 100644
--- a/anzu.el
+++ b/anzu.el
@@ -294,12 +294,12 @@
   (if anzu-mode
       (progn
         (set (make-local-variable 'anzu--state) nil)
-        (add-hook 'isearch-update-post-hook 'anzu--update-post-hook nil t)
-        (add-hook 'isearch-mode-hook 'anzu--cons-mode-line-search nil t)
-        (add-hook 'isearch-mode-end-hook 'anzu--reset-mode-line nil t))
-    (remove-hook 'isearch-update-post-hook 'anzu--update-post-hook t)
-    (remove-hook 'isearch-mode-hook 'anzu--cons-mode-line-search t)
-    (remove-hook 'isearch-mode-end-hook 'anzu--reset-mode-line t)
+        (add-hook 'isearch-update-post-hook #'anzu--update-post-hook nil t)
+        (add-hook 'isearch-mode-hook #'anzu--cons-mode-line-search nil t)
+        (add-hook 'isearch-mode-end-hook #'anzu--reset-mode-line nil t))
+    (remove-hook 'isearch-update-post-hook #'anzu--update-post-hook t)
+    (remove-hook 'isearch-mode-hook #'anzu--cons-mode-line-search t)
+    (remove-hook 'isearch-mode-end-hook #'anzu--reset-mode-line t)
     (anzu--reset-mode-line)))
 
 (defun anzu--turn-on ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]