From 2829f7e326515f8221d126d9717a40f56c5edb21 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 3 Aug 1993 07:52:10 +0000 Subject: [PATCH] (comint-dynamic-list-completions): Expand PATHDIR in call to file-name-completion. --- lisp/comint.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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." (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)) -- 2.39.5