# HG changeset patch # User Masatake YAMATO # Date 1063996996 0 # Node ID dab2424315f181eb3aa9b2ae182b442095af0ab0 # Parent 63e754c53eb87fdd941edb105c4a4762dc1cb400 Change the prompt depending on `filter' value. diff -r 63e754c53eb8 -r dab2424315f1 lisp/ChangeLog --- a/lisp/ChangeLog Fri Sep 19 17:13:23 2003 +0000 +++ b/lisp/ChangeLog Fri Sep 19 18:43:16 2003 +0000 @@ -1,3 +1,8 @@ +2003-09-19 Masatake YAMATO + + * pcvs.el (cvs-do-removal): Change the prompt depending on + `filter' value. + 2003-09-19 Glenn Morris * startup.el (command-line-1): Stop startup-echo-area-message diff -r 63e754c53eb8 -r dab2424315f1 lisp/pcvs.el --- a/lisp/pcvs.el Fri Sep 19 17:13:23 2003 +0000 +++ b/lisp/pcvs.el Fri Sep 19 18:43:16 2003 +0000 @@ -2044,11 +2044,15 @@ (if (not (or silent (unwind-protect (yes-or-no-p - (let ((nfiles (length files))) + (let ((nfiles (length files)) + (verb (if (eq filter 'undo) "Undo" "Delete"))) (if (= 1 nfiles) - (format "Delete file: \"%s\" ? " + (format "%s file: \"%s\" ? " + verb (cvs-fileinfo->file (car files))) - (format "Delete %d files? " nfiles)))) + (format "%s %d files? " + verb + nfiles)))) (cvs-bury-buffer tmpbuf cvs-buffer)))) (progn (message "Aborting") nil) (dolist (fi files)