]> code.delx.au - gnu-emacs/blobdiff - lisp/map-ynp.el
(mark-fortran-subprogram): Activate mark
[gnu-emacs] / lisp / map-ynp.el
index ce50e98c6c892ce1fce8b24be2ad1eb0bef5f892..bc3183a5e280d37e3919445f03ace74b2424c0e7 100644 (file)
@@ -149,7 +149,7 @@ Returns the number of actions taken."
                                (key-description (vector help-char)))
                       (if minibuffer-auto-raise
                           (raise-frame (window-frame (minibuffer-window))))
-                      (setq char (read-event))
+                      (setq char (read-event nil t))
                       ;; Show the answer to the question.
                       (message "%s(y, n, !, ., q, %sor %s) %s"
                                prompt user-keys
@@ -195,9 +195,11 @@ Returns the number of actions taken."
                               (concat
                                (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"
-                                       action object object action objects)
+                                       action object object objects action
+                                       objects)
                                (mapconcat (function
                                            (lambda (elt)
                                              (format "%c to %s"