Function: vc-rcs-workfile-is-newer
vc-rcs-workfile-is-newer is a byte-compiled function defined in
vc-rcs.el.gz.
Signature
(vc-rcs-workfile-is-newer FILE)
Documentation
Return non-nil if FILE is newer than its RCS master.
This likely means that FILE has been changed with respect to its master version.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-rcs.el.gz
;;;
;;; Internal functions
;;;
(defun vc-rcs-workfile-is-newer (file)
"Return non-nil if FILE is newer than its RCS master.
This likely means that FILE has been changed with respect
to its master version."
(let ((file-time (file-attribute-modification-time (file-attributes file)))
(master-time (file-attribute-modification-time
(file-attributes (vc-master-name file)))))
(time-less-p master-time file-time)))