changeset 4441:4d7048ac2a72

(comint-dynamic-list-completions): Expand PATHDIR in call to file-name-completion.
author Roland McGrath <roland@gnu.org>
date Tue, 03 Aug 1993 07:52:10 +0000
parents e608866e49aa
children cb81eadd0df5
files lisp/comint.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Tue Aug 03 07:28:04 1993 +0000
+++ b/lisp/comint.el	Tue Aug 03 07:52:10 1993 +0000
@@ -1214,7 +1214,9 @@
 	 (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))