Function: menu-bar-menu-frame-live-and-visible-p
menu-bar-menu-frame-live-and-visible-p is a byte-compiled function
defined in menu-bar.el.gz.
Signature
(menu-bar-menu-frame-live-and-visible-p)
Documentation
Return non-nil if the menu frame is alive and visible.
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-menu-frame-live-and-visible-p ()
"Return non-nil if the menu frame is alive and visible.
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)
(frame-visible-p menu-frame))))