From d325d0c255f02250e17ee3fbe066205c852b86ec Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sat, 26 Jun 2010 13:13:14 +0200 Subject: [PATCH] Implement patch by Stefan Monnier --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 31cc94cf6..679804565 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8635,7 +8635,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support (save-match-data (if (string-match (concat "^" (regexp-quote (file-name-as-directory - (expand-file-name ".")))) + default-directory))) (expand-file-name path)) ;; We are linking a file with relative path name. (setq path (substring (expand-file-name path)