Jelajahi Sumber

Unescape links before opening them

* lisp/org.el (org-open-at-point): Unescape links before opening
  them.  This bug was introduced in
  fc9ce86cfc1ecf7e86028027a12875a26500e774.
Nicolas Goaziou 11 tahun lalu
induk
melakukan
567ec8791a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lisp/org.el

+ 1 - 1
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))