463 |
;; 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 |
464 |
;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings |
;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings |
465 |
;; is on). |
;; is on). |
466 |
(defalias 'easy-menu-remove 'ignore) |
(defalias 'easy-menu-remove 'ignore |
467 |
|
"Remove MENU from the current menu bar. |
468 |
|
Contrary to XEmacs, this is a nop on Emacs since menus are automatically |
469 |
|
\(de)activated when the corresponding keymap is (de)activated. |
470 |
|
|
471 |
|
\(fn MENU)") |
472 |
|
|
473 |
(defun easy-menu-add (menu &optional map) |
(defun easy-menu-add (menu &optional map) |
474 |
"Add the menu to the menubar. |
"Add the menu to the menubar. |