diff options
| author | Roland McGrath | 1993-08-03 07:52:10 +0000 |
|---|---|---|
| committer | Roland McGrath | 1993-08-03 07:52:10 +0000 |
| commit | 2829f7e326515f8221d126d9717a40f56c5edb21 (patch) | |
| tree | 11482b5e5a672843954dea4b16fc188ddb47ad23 | |
| parent | e3a7436e6ff694c05195b4861e63c1930ba3f532 (diff) | |
| download | emacs-2829f7e326515f8221d126d9717a40f56c5edb21.tar.gz emacs-2829f7e326515f8221d126d9717a40f56c5edb21.zip | |
(comint-dynamic-list-completions): Expand PATHDIR in call to
file-name-completion.
| -rw-r--r-- | lisp/comint.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index fa71e58290f..d660ff48831 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1214,7 +1214,9 @@ it just adds completion characters to the end of the filename." | |||
| 1214 | (pathnondir (file-name-nondirectory pathname)) | 1214 | (pathnondir (file-name-nondirectory pathname)) |
| 1215 | (completions | 1215 | (completions |
| 1216 | (file-name-all-completions pathnondir | 1216 | (file-name-all-completions pathnondir |
| 1217 | (or pathdir default-directory)))) | 1217 | (if pathdir |
| 1218 | (expand-file-name pathdir) | ||
| 1219 | default-directory)))) | ||
| 1218 | (cond ((null completions) | 1220 | (cond ((null completions) |
| 1219 | (message "No completions of %s" pathname) | 1221 | (message "No completions of %s" pathname) |
| 1220 | (ding)) | 1222 | (ding)) |