From: André Spiegel <spiegel@gnu.org>
Date: Tue, 19 Sep 2000 13:58:56 +0000 (+0000)
Subject: (vc-revert-buffer): Set vc-checkout-time correctly.
X-Git-Tag: emacs-pretest-21.0.90~1525
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c13809cf28e06ed04b8794ee6b0dccd0789dae90;p=emacs.git

(vc-revert-buffer): Set vc-checkout-time correctly.
---

diff --git a/lisp/vc.el b/lisp/vc.el
index 081c232243a..836495f5899 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2103,7 +2103,7 @@ use \\[universal-argument] \\[vc-next-action] to do so."
      file
      (vc-call revert file)
      `((vc-state up-to-date)
-       (vc-checkout-time (nth 5 (file-attributes file)))))
+       (vc-checkout-time ,(nth 5 (file-attributes file)))))
     (vc-resynch-buffer file t t)
     (message "Reverting %s...done" file)))