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

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

[nongnu] elpa/hl-block-mode 4e28df960d 40/64: Remove local variables whe


From: ELPA Syncer
Subject: [nongnu] elpa/hl-block-mode 4e28df960d 40/64: Remove local variables when disabling the mode
Date: Thu, 7 Jul 2022 12:00:07 -0400 (EDT)

branch: elpa/hl-block-mode
commit 4e28df960dce788d2fa1edd4248e927b2437ace4
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Remove local variables when disabling the mode
---
 hl-block-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hl-block-mode.el b/hl-block-mode.el
index 8934586c8c..e44a21075a 100644
--- a/hl-block-mode.el
+++ b/hl-block-mode.el
@@ -263,6 +263,7 @@ Inverse of `color-values'."
 (defun hl-block-mode-disable ()
   "Turn off 'hl-block-mode' for the current buffer."
   (hl-block--overlay-clear)
+  (kill-local-variable 'hl-block-overlay)
   (hl-block--time-buffer-local-disable))
 
 (defun hl-block-mode-turn-on ()



reply via email to

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