Mercurial > emacs
diff lisp/dired.el @ 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 | e3ace501b5f4 |
children | 445f56b6dc24 97905c4f1a42 |
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.