Function: dired-directory-changed-p
dired-directory-changed-p is a byte-compiled function defined in
dired.el.gz.
Signature
(dired-directory-changed-p DIRNAME)
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
;; The following is an internal dired function. It returns non-nil if
;; the directory visited by the current dired buffer has changed on
;; 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 (file-attribute-type attributes) t))
(time-equal-p (file-attribute-modification-time attributes)
modtime)))))