(map-y-or-n-p): Don't inherit the current input
[bpt/emacs.git] / lisp / map-ynp.el
index bc3183a..d773cb7 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 nil t))
+                      (setq char (read-event))
                       ;; Show the answer to the question.
                       (message "%s(y, n, !, ., q, %sor %s) %s"
                                prompt user-keys