]> git.eshelyaron.com Git - emacs.git/commitdiff
Change the prompt depending on `filter' value.
authorMasatake YAMATO <jet@gyve.org>
Fri, 19 Sep 2003 18:43:16 +0000 (18:43 +0000)
committerMasatake YAMATO <jet@gyve.org>
Fri, 19 Sep 2003 18:43:16 +0000 (18:43 +0000)
lisp/ChangeLog
lisp/pcvs.el

index 1e0d0022fcb5cc574f0935e1c72a70f9b127f52b..23714466857920ec78ec3d22294c0d0d6c9e0a77 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-19  Masatake YAMATO  <jet@gyve.org>
+
+       * pcvs.el (cvs-do-removal): Change the prompt depending on
+       `filter' value.
+
 2003-09-19  Glenn Morris  <gmorris@ast.cam.ac.uk>
 
        * startup.el (command-line-1): Stop startup-echo-area-message
index c1cc83150bbdbfb7ea14caa0d010896f0e97c3fa..fe19de66047155938f3830eb62157e88f606baef 100644 (file)
@@ -2044,11 +2044,15 @@ Returns a list of FIS that should be `cvs remove'd."
     (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)