emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/ls-lisp.el,v


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/ls-lisp.el,v
Date: Sat, 23 Jun 2007 10:05:14 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    07/06/23 10:05:14

Index: ls-lisp.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ls-lisp.el,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- ls-lisp.el  23 Jun 2007 09:45:41 -0000      1.65
+++ ls-lisp.el  23 Jun 2007 10:05:14 -0000      1.66
@@ -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)))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]