Rationalize `org-link-(un)escape' (cc7c4a67)

This commit is contained in:
Masanao Igarashi
2019-08-13 11:12:45 +09:00
parent cb7b48da74
commit 2c7338d68c

View File

@@ -953,8 +953,7 @@ INFO is a plist holding contextual information."
(path (cond (path (cond
((member type '("http" "https" "ftp" "mailto")) ((member type '("http" "https" "ftp" "mailto"))
(url-encode-url (url-encode-url
(org-link-unescape (concat type ":" raw-path)))
(concat type ":" raw-path))))
((string= type "file") ((string= type "file")
;; Treat links to ".org" files as ".rst", if needed. ;; Treat links to ".org" files as ".rst", if needed.
(setq raw-path (setq raw-path