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

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

[elpa] externals/indent-bars 651e0361fa: ensure depth timer is removed o


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 651e0361fa: ensure depth timer is removed on teardown
Date: Mon, 23 Sep 2024 09:58:11 -0400 (EDT)

branch: externals/indent-bars
commit 651e0361fae4f2f48e82042bf12cd61a0166c23b
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    ensure depth timer is removed on teardown
---
 indent-bars.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/indent-bars.el b/indent-bars.el
index 68cc6249ca..45bcaae9df 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1646,6 +1646,9 @@ Adapted from `highlight-indentation-mode'."
   (dolist (s indent-bars--styles)
     (face-remap-remove-relative
      (alist-get (ibs/tag s) indent-bars--remaps)))
+  (when indent-bars--highlight-timer
+    (cancel-timer indent-bars--highlight-timer)
+    (setq indent-bars--highlight-timer nil))
 
   ;; Remove stipple remaps and window parameters
   (unless indent-bars--no-stipple



reply via email to

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