]> git.eshelyaron.com Git - emacs.git/commitdiff
(easy-menu-remove): Add docstring.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 19 Sep 2002 05:12:24 +0000 (05:12 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 19 Sep 2002 05:12:24 +0000 (05:12 +0000)
lisp/emacs-lisp/easymenu.el

index fb8ee479fd835dfc4c8507f1ce87dfd3d8c1ed40..80011694296ffbccc2b25c1ec0ee73b492ef789d 100644 (file)
@@ -463,7 +463,12 @@ to implement dynamic menus."
 ;; here easy-menu-remove is a noop and easy-menu-add only precalculates
 ;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings
 ;; 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)
   "Add the menu to the menubar.