aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/easymenu.el18
1 files changed, 2 insertions, 16 deletions
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el
index 43ce1872f9b..41e3a197af4 100644
--- a/lisp/emacs-lisp/easymenu.el
+++ b/lisp/emacs-lisp/easymenu.el
@@ -492,25 +492,11 @@ To implement dynamic menus, either call this from
492`menu-bar-update-hook' or use a menu filter." 492`menu-bar-update-hook' or use a menu filter."
493 (easy-menu-add-item map path (easy-menu-create-menu name items) before)) 493 (easy-menu-add-item map path (easy-menu-create-menu name items) before))
494 494
495(defalias 'easy-menu-remove #'ignore 495(defalias 'easy-menu-remove #'ignore)
496 "Remove MENU from the current menu bar.
497Contrary to XEmacs, this is a nop on Emacs since menus are automatically
498\(de)activated when the corresponding keymap is (de)activated.
499
500\(fn MENU)")
501(make-obsolete 'easy-menu-remove "this was always a no-op in Emacs \ 496(make-obsolete 'easy-menu-remove "this was always a no-op in Emacs \
502and can be safely removed." "28.1") 497and can be safely removed." "28.1")
503 498
504(defalias 'easy-menu-add #'ignore 499(defalias 'easy-menu-add #'ignore)
505 "Add the menu to the menubar.
506On Emacs this is a nop, because menus are already automatically
507activated when the corresponding keymap is activated. On XEmacs
508this is needed to actually add the menu to the current menubar.
509
510You should call this once the menu and keybindings are set up
511completely and menu filter functions can be expected to work.
512
513\(fn MENU &optional MAP)")
514(make-obsolete 'easy-menu-add "this was always a no-op in Emacs \ 500(make-obsolete 'easy-menu-add "this was always a no-op in Emacs \
515and can be safely removed." "28.1") 501and can be safely removed." "28.1")
516 502