diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-08-23 16:20:25 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-08-23 16:24:54 +0200 |
commit | 4ee8a6c124a15f0da45b5de83af12cbbf0343815 (patch) | |
tree | ecbc4b5b1bb584fa44a1838fce8aabe5e608192e /lisp/emacs-lisp | |
parent | 3b72b47cbd3e1a4b575d5ecc886e506d22a50a0c (diff) | |
download | emacs-4ee8a6c124a15f0da45b5de83af12cbbf0343815.tar.gz emacs-4ee8a6c124a15f0da45b5de83af12cbbf0343815.tar.bz2 emacs-4ee8a6c124a15f0da45b5de83af12cbbf0343815.zip |
; Minor doc fix in easy-menu-{add,remove}
* lisp/emacs-lisp/easymenu.el (easy-menu-remove, easy-menu-add):
Minor doc fix: don't explain what this does in XEmacs.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easymenu.el | 18 |
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 `menu-bar-update-hook' or use a menu filter." (easy-menu-add-item map path (easy-menu-create-menu name items) before)) -(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)") +(defalias 'easy-menu-remove #'ignore) (make-obsolete 'easy-menu-remove "this was always a no-op in Emacs \ and can be safely removed." "28.1") -(defalias 'easy-menu-add #'ignore - "Add the menu to the menubar. -On Emacs this is a nop, because menus are already automatically -activated when the corresponding keymap is activated. On XEmacs -this is needed to actually add the menu to the current menubar. - -You should call this once the menu and keybindings are set up -completely and menu filter functions can be expected to work. - -\(fn MENU &optional MAP)") +(defalias 'easy-menu-add #'ignore) (make-obsolete 'easy-menu-add "this was always a no-op in Emacs \ and can be safely removed." "28.1") |