Function: cal-menu-x-popup-menu

cal-menu-x-popup-menu is a macro defined in cal-menu.el.gz.

Signature

(cal-menu-x-popup-menu EVENT TITLE &rest BODY)

Documentation

Call x-popup-menu at position EVENT, with TITLE and contents BODY.

Signals an error if popups are unavailable.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-menu.el.gz
(defmacro cal-menu-x-popup-menu (event title &rest body)
  "Call `x-popup-menu' at position EVENT, with TITLE and contents BODY.
Signals an error if popups are unavailable."
  (declare (indent 2))
  `(if (display-popup-menus-p)
       (x-popup-menu ,event (list ,title (append (list ,title) ,@body)))
     (error "Popup menus are not available on this system")))