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

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

[elpa] externals/org 7c61a3a801: org-unfontify-region: Handle invisible


From: ELPA Syncer
Subject: [elpa] externals/org 7c61a3a801: org-unfontify-region: Handle invisible parts of links
Date: Tue, 21 Jun 2022 08:57:49 -0400 (EDT)

branch: externals/org
commit 7c61a3a801c2e16991cd0c139b9ad00dd79c9765
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-unfontify-region: Handle invisible parts of links
    
    * lisp/org.el (org-unfontify-region): Reveal folded parts of links.
    
    Fixes https://orgmode.org/list/m2wndakbk0.fsf@ntnu.no
---
 lisp/org.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/org.el b/lisp/org.el
index 220210992e..8f3f00a379 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5836,6 +5836,8 @@ If TAG is a number, get the corresponding match group."
                            '(mouse-face t keymap t org-linked-text t
                                         invisible t intangible t
                                         org-emphasis t))
+    (org-fold-region beg end nil 'org-link)
+    (org-fold-region beg end nil 'org-link-description)
     (org-fold-core-update-optimisation beg end)
     (org-remove-font-lock-display-properties beg end)))
 



reply via email to

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