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

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

[nongnu] elpa/idle-highlight-mode ac31f75fd0 28/59: Remove local variabl


From: ELPA Syncer
Subject: [nongnu] elpa/idle-highlight-mode ac31f75fd0 28/59: Remove local variable when the mode is disabled
Date: Thu, 7 Jul 2022 12:00:30 -0400 (EDT)

branch: elpa/idle-highlight-mode
commit ac31f75fd071a7b94a2e3bba1f3ae8f1c1af5d83
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Remove local variable when the mode is disabled
---
 idle-highlight-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idle-highlight-mode.el b/idle-highlight-mode.el
index 451818358d..64a06287a8 100755
--- a/idle-highlight-mode.el
+++ b/idle-highlight-mode.el
@@ -232,7 +232,8 @@
       (idle-highlight--time-buffer-local-enable))
     (t
       (idle-highlight--time-buffer-local-disable)
-      (idle-highlight--unhighlight))))
+      (idle-highlight--unhighlight)
+      (kill-local-variable 'idle-highlight--regexp))))
 
 (provide 'idle-highlight-mode)
 ;;; idle-highlight-mode.el ends here



reply via email to

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