diff options
author | Bastien <bzg@gnu.org> | 2018-04-26 21:52:39 +0200 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2018-04-26 21:52:39 +0200 |
commit | b1d084c1ab877a58b342ae4a8b8d844b9b54e625 (patch) | |
tree | f7ec41626a0c9b1075941bde9c8f595503d42847 | |
parent | 407014e0684796862a1b1d707717f4fdbdccc7da (diff) | |
download | org-mode-b1d084c1ab877a58b342ae4a8b8d844b9b54e625.tar.gz |
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.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 600693b..ebe9ace 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 |