diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-06-18 19:22:21 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2014-06-18 19:22:21 +0200 |
commit | b1dcd0fb0bec6b523c900bc1304fbe834c21697d (patch) | |
tree | 7098270e82b1aed03d9c043e7eab8677d358cfee | |
parent | 9303717691c2ffc7e38906ba15e63e795b324465 (diff) | |
download | org-mode-b1dcd0fb0bec6b523c900bc1304fbe834c21697d.tar.gz |
org-element: Do not expand file name when parsing links
* lisp/org-element.el (org-element-link-parser): Do not expand file
name when parsing links so that Tramp doesn't kick in.
Thanks to Sébastien Vauban for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/87696
-rw-r--r-- | lisp/org-element.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el index e768aac..5af513f 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -3015,7 +3015,7 @@ Assume point is at the beginning of the link." ;; Normalize URI. (when (and (not (org-string-match-p "\\`//" path)) (file-name-absolute-p path)) - (setq path (concat "//" (expand-file-name path)))) + (setq path (concat "//" path))) ;; Make sure TYPE always reports "file". (setq type "file")) (list 'link |