]> code.delx.au - gnu-emacs/commitdiff
(map-y-or-n-p): No special handling for exit-prefix.
authorRichard M. Stallman <rms@gnu.org>
Wed, 28 May 2003 11:22:39 +0000 (11:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 28 May 2003 11:22:39 +0000 (11:22 +0000)
In help string, mention C-g but not ESC.

lisp/map-ynp.el

index 59007c1f21d54d584111ceff053ad7d0d63c4e61..2fa97f163d7e44f12e2452d2001d2857f53c0cfd 100644 (file)
@@ -175,7 +175,7 @@ Returns the number of actions taken."
                          (funcall actor elt)
                          (setq actions (1+ actions)
                                next (function (lambda () nil))))
-                        ((or (eq def 'quit) (eq def 'exit-prefix))
+                        ((eq def 'quit)
                          (setq quit-flag t)
                          (setq next `(lambda ()
                                        (setq next ',next)
@@ -201,8 +201,8 @@ Returns the number of actions taken."
                                (format "Type SPC or `y' to %s the current %s;
 DEL or `n' to skip the current %s;
 RET or `q' to exit (skip all remaining %s);
-! to %s all remaining %s;
-ESC or `q' to exit;\n"
+C-g to quit (cancel the operation);
+! to %s all remaining %s;\n"
                                        action object object objects action
                                        objects)
                                (mapconcat (function