changeset 58640:0241e1689d7f

(vc-cvs-state): Handle the case where vc-state is still nil.
author André Spiegel <spiegel@gnu.org>
date Tue, 30 Nov 2004 11:02:23 +0000
parents 1ff2d3bb0cbd
children 6eccfc449b0e
files lisp/vc-cvs.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-cvs.el	Tue Nov 30 08:19:52 2004 +0000
+++ b/lisp/vc-cvs.el	Tue Nov 30 11:02:23 2004 +0000
@@ -189,7 +189,7 @@
       (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