Mercurial > emacs
changeset 47550:df31632ef1db
(easy-menu-remove): Add docstring.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 19 Sep 2002 05:12:24 +0000 |
parents | 448895ab039b |
children | 9c28c23c3153 |
files | lisp/emacs-lisp/easymenu.el |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.