(map-y-or-n-p): Handle minibuffer-auto-raise here.

This commit is contained in:
Richard M. Stallman
1996-11-09 08:50:43 +00:00
parent 22dbea3f67
commit 55b4b20a0c

View File

@@ -146,6 +146,8 @@ Returns the number of actions taken."
(message "%s(y, n, !, ., q, %sor %s) "
prompt user-keys
(key-description (vector help-char)))
(if minibuffer-auto-raise
(raise-frame (window-frame (minibuffer-window))))
(setq char (read-event))
;; Show the answer to the question.
(message "%s(y, n, !, ., q, %sor %s) %s"