forked from mirrors/org-mode
org.el: Fix bug when links contain special characters
* lisp/org.el (org-open-link-from-string): Fix bug when links contain special characters. Thanks to Joon Ro for reporting this.
This commit is contained in:
parent
407014e068
commit
b1d084c1ab
|
@ -10539,7 +10539,7 @@ Raise an error when there is nothing to follow. "
|
|||
(with-temp-buffer
|
||||
(let ((org-inhibit-startup (not reference-buffer)))
|
||||
(org-mode)
|
||||
(insert s)
|
||||
(insert (org-link-escape s))
|
||||
(goto-char (point-min))
|
||||
(when reference-buffer
|
||||
(setq org-link-abbrev-alist-local
|
||||
|
|
Loading…
Reference in a new issue