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

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

[nongnu] elpa/eglot-inactive-regions e25016ddb8 22/66: Do not flush all


From: ELPA Syncer
Subject: [nongnu] elpa/eglot-inactive-regions e25016ddb8 22/66: Do not flush all inactive regions
Date: Fri, 6 Dec 2024 06:59:53 -0500 (EST)

branch: elpa/eglot-inactive-regions
commit e25016ddb856b2299c81046d9617fb8e38aeb172
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>

    Do not flush all inactive regions
    
    Fontification will take care of hidden inactive regions as soon as
    they become visible. No need to flush fontification.
---
 clangd-inactive-regions.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clangd-inactive-regions.el b/clangd-inactive-regions.el
index 1ec86f0e0a..52d62bac70 100644
--- a/clangd-inactive-regions.el
+++ b/clangd-inactive-regions.el
@@ -231,7 +231,7 @@ foreground colors, if the face doesn't exist yet create it."
        ((string= clangd-inactive-regions-method "darken-foreground")
         (with-silent-modifications
           (put-text-property beg end 'clangd-inactive-region t))
-        (font-lock-flush beg end))
+        (font-lock-flush))
        ((string= clangd-inactive-regions-method "shadow")
         (let ((ov (make-overlay beg end)))
           (overlay-put ov 'face 'clangd-inactive-regions-shadow-face)



reply via email to

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