branch: externals/indent-bars
commit e693dd52393ac7d7f03c44ae24001600137c5136
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>
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)