diff options
| author | Richard M. Stallman | 1996-11-09 08:50:43 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-11-09 08:50:43 +0000 |
| commit | 55b4b20a0ccee22ddecbf830559179ebe222e434 (patch) | |
| tree | 4c44db9bcc8083f8719b05bd634525f627522a49 | |
| parent | 22dbea3f67d2039ab9b4e00200ee6cf47dc9baee (diff) | |
| download | emacs-55b4b20a0ccee22ddecbf830559179ebe222e434.tar.gz emacs-55b4b20a0ccee22ddecbf830559179ebe222e434.zip | |
(map-y-or-n-p): Handle minibuffer-auto-raise here.
| -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." | |||
| 146 | (message "%s(y, n, !, ., q, %sor %s) " | 146 | (message "%s(y, n, !, ., q, %sor %s) " |
| 147 | prompt user-keys | 147 | prompt user-keys |
| 148 | (key-description (vector help-char))) | 148 | (key-description (vector help-char))) |
| 149 | (if minibuffer-auto-raise | ||
| 150 | (raise-frame (window-frame (minibuffer-window)))) | ||
| 149 | (setq char (read-event)) | 151 | (setq char (read-event)) |
| 150 | ;; Show the answer to the question. | 152 | ;; Show the answer to the question. |
| 151 | (message "%s(y, n, !, ., q, %sor %s) %s" | 153 | (message "%s(y, n, !, ., q, %sor %s) %s" |