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

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

[elpa] externals/indent-bars 1a851b6503 345/431: remove ts-teardown hook


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 1a851b6503 345/431: remove ts-teardown hook function on teardown
Date: Mon, 16 Sep 2024 12:59:48 -0400 (EDT)

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

    remove ts-teardown hook function on teardown
---
 indent-bars-ts.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index 5454cbf421..24955738cd 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -447,7 +447,8 @@ performed."
   (setq
    indent-bars--display-form nil
    indent-bars--handle-blank-lines-form nil)
-  (remove-hook 'post-command-hook #'indent-bars-ts--update-scope t))
+  (remove-hook 'post-command-hook #'indent-bars-ts--update-scope t)
+  (remove-hook 'indent-bars--teardown-functions 'indent-bars-ts--teardown))
 
 ;;;###autoload
 (defun indent-bars-ts-setup ()



reply via email to

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