From: Gerd Moellmann Date: Tue, 7 Aug 2001 14:41:37 +0000 (+0000) Subject: (viper-file-checked-in-p): Use `and' X-Git-Tag: emacs-pretest-21.0.105~263 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=23f46f6fa4ec3168bdd5bb5f8059e67e58e02f7d;p=emacs.git (viper-file-checked-in-p): Use `and' instead of `progn'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2cb05fc7fba..a6ee9c8cbb7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2001-08-07 Gerd Moellmann + * emulation/viper-util.el (viper-file-checked-in-p): Use `and' + instead of `progn'. + * tar-mode.el (tar-extract): Avoid generating a new buffer for each file visited. From Markus Rost . diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index cacd8debd46..f5d4eb355ab 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el @@ -694,7 +694,7 @@ ;; CVS files are considered not checked in (not (memq (vc-backend file) '(nil CVS))) (if (fboundp 'vc-state) - (progn + (and (not (memq (vc-state file) '(edited needs-merge))) (not (stringp (vc-state file)))) ;; XEmacs has no vc-state