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

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

[elpa] externals/indent-bars 86835d8faa 402/431: ts--context-fontify: us


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 86835d8faa 402/431: ts--context-fontify: use with-silent-modifications
Date: Mon, 16 Sep 2024 12:59:54 -0400 (EDT)

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

    ts--context-fontify: use with-silent-modifications
---
 indent-bars-ts.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/indent-bars-ts.el b/indent-bars-ts.el
index 5ada80c6b8..06b37c158d 100644
--- a/indent-bars-ts.el
+++ b/indent-bars-ts.el
@@ -394,8 +394,9 @@ invalidated text."
        (when (and indent-bars-ts-mode jit-lock-context-unfontify-pos
                   (assq buffer orig)
                   (> jit-lock-context-unfontify-pos (alist-get buffer orig)))
-         (put-text-property (alist-get buffer orig) 
jit-lock-context-unfontify-pos
-                            'indent-bars-font-lock-pending t))))))
+         (with-silent-modifications
+           (put-text-property (alist-get buffer orig) 
jit-lock-context-unfontify-pos
+                              'indent-bars-font-lock-pending t)))))))
 
 (defun indent-bars-ts--font-lock-inhibit (beg end)
   "Check if font-lock is needed on the region between BEG and END.



reply via email to

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