Function: menu-bar-make-toggle
menu-bar-make-toggle is a macro defined in menu-bar.el.gz.
This macro is obsolete since 28.1; use menu-bar-make-toggle-command
instead.
Signature
(menu-bar-make-toggle COMMAND VARIABLE ITEM-NAME MESSAGE HELP &rest BODY)
Documentation
Define a menu-bar toggle command.
See menu-bar-make-toggle-command, for which this is a
compatibility wrapper. BODY is passed in as SETTING-SEXP in that macro.
Source Code
;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defmacro menu-bar-make-toggle (command variable item-name message help
&rest body)
"Define a menu-bar toggle command.
See `menu-bar-make-toggle-command', for which this is a
compatibility wrapper. BODY is passed in as SETTING-SEXP in that macro."
(declare (obsolete menu-bar-make-toggle-command "28.1"))
`(menu-bar-make-toggle-command ,command ,variable ,item-name ,message ,help
,(and body
`(progn
,@body))))