aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasatake YAMATO2003-08-31 02:11:21 +0000
committerMasatake YAMATO2003-08-31 02:11:21 +0000
commitbb61abb8a10b460c78483cc802277a5d2b36ad92 (patch)
treeec3f013f87253f578bb3db9f068407bcf8dbec6e
parent9d35adc75f3a64f909530381c257f68439712ca1 (diff)
downloademacs-bb61abb8a10b460c78483cc802277a5d2b36ad92.tar.gz
emacs-bb61abb8a10b460c78483cc802277a5d2b36ad92.zip
* pcvs.el (cvs-do-removal): Use = instead of eq to check
the numbre of files. Bind the numbre of files to a a local variable. Suggestd by Kevin Rodgers <ihs_4664@yahoo.com>.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/pcvs.el10
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7024544dc24..7dbe7425530 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12003-08-31 Masatake YAMATO <jet@gyve.org>
2
3 * pcvs.el (cvs-do-removal): Use = instead of eq to check
4 the numbre of files. Bind the numbre of files to a a local
5 variable. Suggestd by Kevin Rodgers <ihs_4664@yahoo.com>.
6
12003-08-30 Eli Zaretskii <eliz@elta.co.il> 72003-08-30 Eli Zaretskii <eliz@elta.co.il>
2 8
3 * vc-hooks.el (vc-make-version-backup): Fix the change made on 9 * vc-hooks.el (vc-make-version-backup): Fix the change made on
diff --git a/lisp/pcvs.el b/lisp/pcvs.el
index 300ed10c9cd..51bbafd8d3c 100644
--- a/lisp/pcvs.el
+++ b/lisp/pcvs.el
@@ -2043,10 +2043,12 @@ Returns a list of FIS that should be `cvs remove'd."
2043 (shrink-window-if-larger-than-buffer)))) 2043 (shrink-window-if-larger-than-buffer))))
2044 (if (not (or silent 2044 (if (not (or silent
2045 (unwind-protect 2045 (unwind-protect
2046 (if (eq 1 (length files)) 2046 (yes-or-no-p
2047 (yes-or-no-p (format "Delete file: \"%s\" ? " 2047 (let ((nfiles (length files)))
2048 (cvs-fileinfo->file (car files)))) 2048 (if (= 1 nfiles)
2049 (yes-or-no-p (format "Delete %d files? " (length files)))) 2049 (format "Delete file: \"%s\" ? "
2050 (cvs-fileinfo->file (car files)))
2051 (format "Delete %d files? " nfiles))))
2050 (cvs-bury-buffer tmpbuf cvs-buffer)))) 2052 (cvs-bury-buffer tmpbuf cvs-buffer))))
2051 (progn (message "Aborting") nil) 2053 (progn (message "Aborting") nil)
2052 (dolist (fi files) 2054 (dolist (fi files)