|
@@ -8704,8 +8704,9 @@ Use TAB to complete link prefixes, then RET for type-specific completion support
|
|
(t
|
|
(t
|
|
(save-match-data
|
|
(save-match-data
|
|
(if (string-match (concat "^" (regexp-quote
|
|
(if (string-match (concat "^" (regexp-quote
|
|
- (file-name-as-directory
|
|
|
|
- default-directory)))
|
|
|
|
|
|
+ (expand-file-name
|
|
|
|
+ (file-name-as-directory
|
|
|
|
+ default-directory))))
|
|
(expand-file-name path))
|
|
(expand-file-name path))
|
|
;; We are linking a file with relative path name.
|
|
;; We are linking a file with relative path name.
|
|
(setq path (substring (expand-file-name path)
|
|
(setq path (substring (expand-file-name path)
|