Commit 2829f7e3 authored by Roland McGrath's avatar Roland McGrath
Browse files

(comint-dynamic-list-completions): Expand PATHDIR in call to

file-name-completion.
parent e3a7436e
......@@ -1214,7 +1214,9 @@ it just adds completion characters to the end of the filename."
(pathnondir (file-name-nondirectory pathname))
(completions
(file-name-all-completions pathnondir
(or pathdir default-directory))))
(if pathdir
(expand-file-name pathdir)
default-directory))))
(cond ((null completions)
(message "No completions of %s" pathname)
(ding))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment