diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-11-09 08:50:43 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-11-09 08:50:43 +0000 |
commit | 55b4b20a0ccee22ddecbf830559179ebe222e434 (patch) | |
tree | 4c44db9bcc8083f8719b05bd634525f627522a49 /lisp/map-ynp.el | |
parent | 22dbea3f67d2039ab9b4e00200ee6cf47dc9baee (diff) | |
download | emacs-55b4b20a0ccee22ddecbf830559179ebe222e434.tar.gz |
(map-y-or-n-p): Handle minibuffer-auto-raise here.
Diffstat (limited to 'lisp/map-ynp.el')
-rw-r--r-- | lisp/map-ynp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el index f45fe78e3c3..bfe2ee7af4c 100644 --- a/lisp/map-ynp.el +++ b/lisp/map-ynp.el @@ -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" |