]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-cvs-state): Handle the case where vc-state is still nil.
authorAndré Spiegel <spiegel@gnu.org>
Tue, 30 Nov 2004 11:02:23 +0000 (11:02 +0000)
committerAndré Spiegel <spiegel@gnu.org>
Tue, 30 Nov 2004 11:02:23 +0000 (11:02 +0000)
lisp/vc-cvs.el

index 45ff233eb868b81bd0909d20e54675f3bc20c30a..22346cab68c8192e959558ae14130e17cb529611 100644 (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