Function: menu-bar-non-minibuffer-window-p
menu-bar-non-minibuffer-window-p is a byte-compiled function defined
in menu-bar.el.gz.
Signature
(menu-bar-non-minibuffer-window-p)
Documentation
Return non-nil if the menu frame's selected window is no minibuffer window.
Return nil if the menu frame is dead or its selected window is a minibuffer window. The menu frame is the frame for which we are updating the menu.
Source Code
;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defun menu-bar-non-minibuffer-window-p ()
"Return non-nil if the menu frame's selected window is no minibuffer window.
Return nil if the menu frame is dead or its selected window is a
minibuffer window. The menu frame is the frame for which we are
updating the menu."
(let ((menu-frame (or menu-updating-frame (selected-frame))))
(and (frame-live-p menu-frame)
(not (window-minibuffer-p
(frame-selected-window menu-frame))))))