]> git.eshelyaron.com Git - emacs.git/commitdiff
(comint-dynamic-list-completions): Expand PATHDIR in call to
authorRoland McGrath <roland@gnu.org>
Tue, 3 Aug 1993 07:52:10 +0000 (07:52 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 3 Aug 1993 07:52:10 +0000 (07:52 +0000)
file-name-completion.

lisp/comint.el

index fa71e58290fac1ffbe6c5ca0bf0a73011d2358c0..d660ff48831eabdbef445416eec151ac36a732b1 100644 (file)
@@ -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))