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

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

[elpa] externals/indent-bars e693dd5239 409/431: teardown: avoid buffer


From: ELPA Syncer
Subject: [elpa] externals/indent-bars e693dd5239 409/431: teardown: avoid buffer modification
Date: Mon, 16 Sep 2024 12:59:55 -0400 (EDT)

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

    teardown: avoid buffer modification
---
 indent-bars.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 7746e6c7e4..37b7e6b19c 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1646,7 +1646,8 @@ Adapted from `highlight-indentation-mode'."
   
   (when indent-bars--orig-fontify-region
     (setq font-lock-fontify-region-function indent-bars--orig-fontify-region))
-  (remove-text-properties (point-min) (point-max) '(indent-bars-display nil))
+  (with-silent-modifications
+    (remove-text-properties (point-min) (point-max) '(indent-bars-display 
nil)))
   
   (font-lock-flush)
   (font-lock-ensure)



reply via email to

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