Explorar el Código

Implement patch by Stefan Monnier

Carsten Dominik hace 15 años
padre
commit
d325d0c255
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lisp/org.el

+ 1 - 1
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)