]> git.eshelyaron.com Git - emacs.git/commitdiff
(map-y-or-n-p): Handle minibuffer-auto-raise here.
authorRichard M. Stallman <rms@gnu.org>
Sat, 9 Nov 1996 08:50:43 +0000 (08:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 9 Nov 1996 08:50:43 +0000 (08:50 +0000)
lisp/map-ynp.el

index f45fe78e3c3f581fd985fee9536f821ff10ed854..bfe2ee7af4c39a903aa5e739967b4d8a6d0ed05c 100644 (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"