mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(easy-menu-remove): Add docstring.
This commit is contained in:
parent
21311ac9ec
commit
0f18f01cab
1 changed files with 6 additions and 1 deletions
|
|
@ -463,7 +463,12 @@ to implement dynamic menus."
|
||||||
;; here easy-menu-remove is a noop and easy-menu-add only precalculates
|
;; here easy-menu-remove is a noop and easy-menu-add only precalculates
|
||||||
;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings
|
;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings
|
||||||
;; is on).
|
;; is on).
|
||||||
(defalias 'easy-menu-remove 'ignore)
|
(defalias 'easy-menu-remove 'ignore
|
||||||
|
"Remove MENU from the current menu bar.
|
||||||
|
Contrary to XEmacs, this is a nop on Emacs since menus are automatically
|
||||||
|
\(de)activated when the corresponding keymap is (de)activated.
|
||||||
|
|
||||||
|
\(fn MENU)")
|
||||||
|
|
||||||
(defun easy-menu-add (menu &optional map)
|
(defun easy-menu-add (menu &optional map)
|
||||||
"Add the menu to the menubar.
|
"Add the menu to the menubar.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue