1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-02-02 20:55:13 +00:00

Unescape links before opening them

* lisp/org.el (org-open-at-point): Unescape links before opening
  them.  This bug was introduced in
  fc9ce86cfc1ecf7e86028027a12875a26500e774.
This commit is contained in:
Nicolas Goaziou 2014-03-03 15:55:26 +01:00
parent ebceff5412
commit 567ec8791a

View File

@ -10518,7 +10518,7 @@ is used internally by `org-open-link-from-string'."
(org-tags-view arg (substring (match-string 5) 0 -1)))
((eq type 'link)
(let ((type (org-element-property :type context))
(path (org-element-property :path context)))
(path (org-link-unescape (org-element-property :path context))))
;; Switch back to REFERENCE-BUFFER needed when called in
;; a temporary buffer through `org-open-link-from-string'.
(with-current-buffer (or reference-buffer (current-buffer))