branch: elpa/anzu
commit c3c9a0b7218bd59a04d134df0414cbb5e6843144
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>

    Set anzu--status per buffer
---
 anzu.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/anzu.el b/anzu.el
index 568fc24f05..601e04f45c 100644
--- a/anzu.el
+++ b/anzu.el
@@ -304,6 +304,7 @@
   :lighter    anzu-mode-lighter
   (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))

Reply via email to