1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(vc-cvs-state): Handle the case where vc-state is still nil.

This commit is contained in:
André Spiegel 2004-11-30 11:02:23 +00:00
parent 25a0994a81
commit 5124dd38c8

View File

@ -189,7 +189,7 @@ See also variable `vc-cvs-sticky-date-format-string'."
(let ((state (vc-file-getprop file 'vc-state)))
;; If we should stay local, use the heuristic but only if
;; we don't have a more precise state already available.
(if (memq state '(up-to-date edited))
(if (memq state '(up-to-date edited nil))
(vc-cvs-state-heuristic file)
state))
(with-temp-buffer