]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-directory-changed-p): Reindent.
authorLuc Teirlinck <teirllm@auburn.edu>
Thu, 25 Mar 2004 04:21:24 +0000 (04:21 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Thu, 25 Mar 2004 04:21:24 +0000 (04:21 +0000)
lisp/dired.el

index 6e061dabeb7b57d42630526d3827fe38965f8c36..af74ed5c1f03047b338f88674f03fb6b4f4f2278 100644 (file)
@@ -530,11 +530,11 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
 ;; disk.  DIRNAME should be the directory name of that directory.
 (defun dired-directory-changed-p (dirname)
   (not (let ((attributes (file-attributes dirname))
-                   (modtime (visited-file-modtime)))
-               (or (eq modtime 0)
-                   (not (eq (car attributes) t))
-                   (and (= (car (nth 5 attributes)) (car modtime))
-                        (= (nth 1 (nth 5 attributes)) (cdr modtime)))))))
+            (modtime (visited-file-modtime)))
+        (or (eq modtime 0)
+            (not (eq (car attributes) t))
+            (and (= (car (nth 5 attributes)) (car modtime))
+                 (= (nth 1 (nth 5 attributes)) (cdr modtime)))))))
 
 (defun dired-buffer-stale-p (&optional noconfirm)
   "Return non-nil if current dired buffer needs updating.