diff options
author | Juan Manuel Macias <maciaschain@posteo.net> | 2021-07-10 13:53:44 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-07-27 22:01:36 +0200 |
commit | 40a20136d395f06548eae55bebb4377676fb9db7 (patch) | |
tree | 37d2c380a3c7672be887406a303a92756729527f | |
parent | 229b018b6090d1dca71cd8eebc467bdd76f8c12a (diff) | |
download | org-mode-40a20136d395f06548eae55bebb4377676fb9db7.tar.gz |
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
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |