diff options
Diffstat (limited to 'lisp/net')
-rw-r--r-- | lisp/net/tramp.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 792233925f..cbe7040f60 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -6551,8 +6551,7 @@ necessary only. This function will be used in file name completion." (and dl (not - (string-equal - result (expand-file-name-as-directory cmd (car dl))))) + (string-equal result (expand-file-name cmd (car dl))))) (setq dl (cdr dl))) (setq dl (cdr dl)))))) (tramp-error vec 'file-error "Couldn't find a proper `ls' command"))))) |