changeset 91948:c54733a34155

(locate-dominating-file): Fix thinko in last change. Reported by Bruce Stephens <bruce.stephens@isode.com>.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 19 Feb 2008 02:21:08 +0000
parents 8a9d5463d4cb
children d3395bc69ea8
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Feb 18 22:40:03 2008 +0000
+++ b/lisp/ChangeLog	Tue Feb 19 02:21:08 2008 +0000
@@ -1,3 +1,8 @@
+2008-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* files.el (locate-dominating-file): Fix thinko in last change.
+	Reported by Bruce Stephens <bruce.stephens@isode.com>.
+
 2008-02-18  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* vc.el (vc-status-mode-menu): New menu for vc-status.
--- a/lisp/files.el	Mon Feb 18 22:40:03 2008 +0000
+++ b/lisp/files.el	Tue Feb 19 02:21:08 2008 +0000
@@ -742,7 +742,7 @@
                   ;; files inside a project belong to the same user.
                   (let ((prev-user user))
                     (setq user (nth 2 (file-attributes file)))
-                    (not (or (null prev-user) (equal user prev-user)))))
+                    (or (null prev-user) (equal user prev-user))))
         (if (setq files (directory-files dir 'full regexp))
             (throw 'found (car files))
           (if (equal dir