Rationalize `org-link-(un)escape' (cc7c4a67)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user