Prevent superfluous colon

* org.el (org-make-link-string): Prevent superfluous colon.
This commit is contained in:
David Maus 2010-09-22 21:16:29 +02:00
parent 400a1457b3
commit cc0cc6745a
1 changed files with 1 additions and 1 deletions

View File

@ -8450,7 +8450,7 @@ according to FMT (default from `org-email-link-description-format')."
(not (equal link (org-link-escape link))))
(setq description (org-extract-attributes link)))
(setq link (if (string-match org-link-types-re link)
(concat (match-string 1 link) ":"
(concat (match-string 1 link)
(org-link-escape (substring link (match-end 1))))
(org-link-escape link)))
(concat "[[" link "]"