7c61a3a801c2e16991cd0c139b9ad00dd79c9765 — Ihor Radchenko 9 days ago e7e37c5 main
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
1 files changed, 2 insertions(+), 0 deletions(-)

M lisp/org.el
M lisp/org.el => lisp/org.el +2 -0
@@ 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)))