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

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

[elpa] externals/org 40a2013 2/2: Prevent partial fontification when a l


From: ELPA Syncer
Subject: [elpa] externals/org 40a2013 2/2: Prevent partial fontification when a link is displayed full
Date: Tue, 27 Jul 2021 16:57:14 -0400 (EDT)

branch: externals/org
commit 40a20136d395f06548eae55bebb4377676fb9db7
Author: Juan Manuel Macias <maciaschain@posteo.net>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    Prevent partial fontification when a link is displayed full
    
    * lisp/org.el (org-activate-links): apply `face-property' variable in
    other cases when handle invisible parts in bracket
    links: `(add-face-text-property start end face-property)' suggestion
    from Ihor Radchenko
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index ffcc594..eca12a5 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5228,7 +5228,7 @@ This includes angle, plain, and bracket links."
                                    'org-link))
                             properties)))
                (add-text-properties start visible-start hidden)
-                (add-face-text-property visible-start visible-end 
face-property)
+                (add-face-text-property start end face-property)
                (add-text-properties visible-start visible-end properties)
                (add-text-properties visible-end end hidden)
                (org-rear-nonsticky-at visible-start)



reply via email to

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