summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2014-03-03 15:55:26 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2014-03-03 15:55:26 +0100
commit567ec8791a26b969c17842c878bfd0a87b592257 (patch)
treedb92ef8a699a44a9fedfa09cf0dbe7babc74e70b
parentebceff5412eb040380eae05ebd944c95a7ba996d (diff)
downloadorg-mode-567ec8791a26b969c17842c878bfd0a87b592257.tar.gz
Unescape links before opening them
* lisp/org.el (org-open-at-point): Unescape links before opening them. This bug was introduced in fc9ce86cfc1ecf7e86028027a12875a26500e774.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 1221b0e..64ee668 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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))