branch: elpa/anzu
commit e46563628d0cebfd6c9beb47b7016e516acabbbc
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
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 ()