changeset 56423:fb8b1f758f89

(dired-directory-changed-p): `visited-file-modtime' now returns a list of two integers, instead of a cons.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 14 Jul 2004 22:59:08 +0000
parents 36170ef90094
children 27e781b70053
files lisp/dired.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Wed Jul 14 22:47:11 2004 +0000
+++ b/lisp/dired.el	Wed Jul 14 22:59:08 2004 +0000
@@ -620,8 +620,7 @@
 	     (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)))))))
+	     (equal (nth 5 attributes) modtime)))))
 
 (defun dired-buffer-stale-p (&optional noconfirm)
   "Return non-nil if current dired buffer needs updating.