Unescape :help-echo for links

* lisp/org.el (org-activate-bracket-links): Remove escapes
from the help string.

TINYCHANGE
This commit is contained in:
Florian Beck 2013-03-21 21:15:50 +01:00 committed by Bastien Guerry
parent 45afcf137c
commit f9555eef69
1 changed files with 1 additions and 4 deletions

View File

@ -5909,10 +5909,7 @@ by a #."
(if (and (re-search-forward org-bracket-link-regexp limit t)
(not (org-in-src-block-p)))
(let* ((hl (org-match-string-no-properties 1))
(help (concat "LINK: " hl))
;; FIXME: Above we should remove the escapes. But that
;; requires another match, protecting match data, a lot
;; of overhead for font-lock.
(help (concat "LINK: " (save-match-data (org-link-unescape hl))))
(ip (org-maybe-intangible
(list 'invisible 'org-link
'keymap org-mouse-map 'mouse-face 'highlight