Function: display-popup-menus-p

display-popup-menus-p is a byte-compiled function defined in frame.el.gz.

Signature

(display-popup-menus-p &optional DISPLAY)

Documentation

Return non-nil if popup menus are supported on DISPLAY.

DISPLAY can be a display name, a frame, or nil (meaning the selected frame's display). Support for popup menus requires that the mouse be available.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/frame.el.gz
(defun display-popup-menus-p (&optional display)
  "Return non-nil if popup menus are supported on DISPLAY.
DISPLAY can be a display name, a frame, or nil (meaning the selected
frame's display).
Support for popup menus requires that the mouse be available."
  (display-mouse-p display))