diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-08-07 14:41:37 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-08-07 14:41:37 +0000 |
commit | 23f46f6fa4ec3168bdd5bb5f8059e67e58e02f7d (patch) | |
tree | e174bad6dd70491b7b13ac6d4c8099a15bbc11cc /lisp | |
parent | d466fa4dcf7844926c7c19a628680d7c10d3b6be (diff) | |
download | emacs-23f46f6fa4ec3168bdd5bb5f8059e67e58e02f7d.tar.gz emacs-23f46f6fa4ec3168bdd5bb5f8059e67e58e02f7d.tar.bz2 emacs-23f46f6fa4ec3168bdd5bb5f8059e67e58e02f7d.zip |
(viper-file-checked-in-p): Use `and'
instead of `progn'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 3 | ||||
-rw-r--r-- | lisp/emulation/viper-util.el | 2 |
2 files changed, 4 insertions, 1 deletions
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 <gerd@gnu.org> + * 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 <rost@math.ohio-state.edu>. 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 |