# HG changeset patch # User Stefan Monnier # Date 1032412344 0 # Node ID df31632ef1db8a2630dc57ea91ec2c6b5bc99806 # Parent 448895ab039b549a1670f8a56d743a4ae2e33519 (easy-menu-remove): Add docstring. diff -r 448895ab039b -r df31632ef1db lisp/emacs-lisp/easymenu.el --- a/lisp/emacs-lisp/easymenu.el Thu Sep 19 05:11:48 2002 +0000 +++ b/lisp/emacs-lisp/easymenu.el Thu Sep 19 05:12:24 2002 +0000 @@ -463,7 +463,12 @@ ;; 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.