diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-12 00:05:33 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-12 00:05:33 +0100 |
commit | b1429cdfe043b199bb7be6dc5c97a299954b4e0d (patch) | |
tree | ffd01eccd338077d5d25682b85d85221ea305d77 | |
parent | c020e92adaa8f16346a8d2c17131440bad44895c (diff) | |
download | org-mode-b1429cdfe043b199bb7be6dc5c97a299954b4e0d.tar.gz |
Fix link fontification
* lisp/org.el (org-activate-links): Display description when
available.
Reported-by: Marco Wahl <marcowahlsoft@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-03/msg00117.html>
-rw-r--r-- | lisp/org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index 0f0cece..f081705 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5325,8 +5325,8 @@ This includes angle, plain, and bracket links." ,(or (org-link-get-parameter type :display) 'org-link)) properties)) - (visible-start (or (match-beginning 4) (match-beginning 2))) - (visible-end (or (match-end 4) (match-end 2)))) + (visible-start (or (match-beginning 3) (match-beginning 2))) + (visible-end (or (match-end 3) (match-end 2)))) (add-text-properties start visible-start hidden) (add-text-properties visible-start visible-end properties) (add-text-properties visible-end end hidden) |