Commit f9e66e49 authored by Stefan Monnier's avatar Stefan Monnier

(vc-arch-state): Don't assume the file exists.

parent 7bfa55b3
......@@ -272,7 +272,7 @@ Return non-nil if FILE is unchanged."
;; Buh? Unexpected format.
'edited
(let ((ats (file-attributes file)))
(if (and (= (nth 7 ats) (string-to-number (match-string 2)))
(if (and (eq (nth 7 ats) (string-to-number (match-string 2)))
(equal (format-time-string "%s" (nth 5 ats))
(match-string 1)))
'up-to-date
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment