Mercurial > emacs
changeset 81580:e870f4d7bcdb
Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 23 Jun 2007 10:05:14 +0000 |
parents | 38d27d6aafc2 |
children | 899006b22947 |
files | lisp/ls-lisp.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ls-lisp.el Sat Jun 23 09:45:58 2007 +0000 +++ b/lisp/ls-lisp.el Sat Jun 23 10:05:14 2007 +0000 @@ -230,9 +230,9 @@ ;; there is no wildcard, only a directory name. (if (and ls-lisp-support-shell-wildcards (string-match "[[?*]" file) - ;; Prefer an existing directory to wildcards, like + ;; Prefer an existing file to wildcards, like ;; dired-noselect does. - (not (file-directory-p file))) + (not (file-exists-p file))) (progn (or (not (eq (aref file (1- (length file))) ?/)) (setq file (substring file 0 (1- (length file)))))