(cvs-revert-if-needed): Fix copy&paste typo.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 20 Nov 2007 04:04:45 +0000 (04:04 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 20 Nov 2007 04:04:45 +0000 (04:04 +0000)
lisp/ChangeLog
lisp/pcvs.el

index 300ae8b..1b3c8eb 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * pcvs.el (cvs-revert-if-needed): Fix copy&paste typo.
+
 2007-11-20  Glenn Morris  <rgm@gnu.org>
 
        * emacs-lisp/check-declare.el (check-declare-verify): Tweak regexp
index fea7c80..53bed60 100644 (file)
@@ -2293,7 +2293,7 @@ this file, or a list of arguments to send to the program."
           (buffer (find-buffer-visiting file)))
       ;; For a revert to happen the user must be editing the file...
       (unless (or (null buffer)
-                 (eq (cvs-fileinfo->type fileinfo) '(MESSAGE UNKNOWN))
+                 (memq (cvs-fileinfo->type fileinfo) '(MESSAGE UNKNOWN))
                  ;; FIXME: check whether revert is really needed.
                  ;; `(verify-visited-file-modtime buffer)' doesn't cut it
                  ;; because it only looks at the time stamp (it ignores