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

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

[nongnu] elpa/anzu c3c9a0b721 209/288: Set anzu--status per buffer


From: ELPA Syncer
Subject: [nongnu] elpa/anzu c3c9a0b721 209/288: Set anzu--status per buffer
Date: Thu, 6 Jan 2022 03:58:53 -0500 (EST)

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

    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

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