Commit 037eed4e authored by Karl Heuer's avatar Karl Heuer
Browse files

(map-y-or-n-p): Ignore input methods.

parent 8303c3d2
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment