Browse Source

Revert "org.el: Fix bug when links contain special characters"

This reverts commit b1d084c1ab877a58b342ae4a8b8d844b9b54e625.

The fix introduces a bug where `org-edit-special' throws an error on
INCLUDE keywords.
Nicolas Goaziou 7 năm trước cách đây
mục cha
commit
388254e0d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/org.el

+ 1 - 1
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 (org-link-escape s))
+	(insert s)
 	(goto-char (point-min))
 	(when reference-buffer
 	  (setq org-link-abbrev-alist-local