From: Richard M. Stallman Date: Sat, 9 Nov 1996 08:50:43 +0000 (+0000) Subject: (map-y-or-n-p): Handle minibuffer-auto-raise here. X-Git-Tag: emacs-20.1~3401 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55b4b20a0ccee22ddecbf830559179ebe222e434;p=emacs.git (map-y-or-n-p): Handle minibuffer-auto-raise here. --- 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"