From: André Spiegel Date: Tue, 30 Nov 2004 11:02:23 +0000 (+0000) Subject: (vc-cvs-state): Handle the case where vc-state is still nil. X-Git-Tag: ttn-vms-21-2-B4~3552 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5124dd38c87e7ae1e2cbd0e9f2c1e7fc07d040b9;p=emacs.git (vc-cvs-state): Handle the case where vc-state is still nil. --- diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 45ff233eb86..22346cab68c 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el @@ -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