Mercurial > emacs
changeset 86246:a01176901861
(cvs-revert-if-needed): Fix copy&paste typo.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 20 Nov 2007 04:04:45 +0000 |
parents | 26cc264a4964 |
children | fc93e9674475 |
files | lisp/ChangeLog lisp/pcvs.el |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 20 03:53:33 2007 +0000 +++ b/lisp/ChangeLog Tue Nov 20 04:04:45 2007 +0000 @@ -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
--- a/lisp/pcvs.el Tue Nov 20 03:53:33 2007 +0000 +++ b/lisp/pcvs.el Tue Nov 20 04:04:45 2007 +0000 @@ -2293,7 +2293,7 @@ (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