diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-09-19 05:12:24 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-09-19 05:12:24 +0000 |
commit | 0f18f01cab135613298962c2a30ef94c534dea87 (patch) | |
tree | ddba62ba4393a3306e85d035576da59317fcf736 /lisp/emacs-lisp | |
parent | 21311ac9ecce18e75bdd7a965b7aa8369753e7ee (diff) | |
download | emacs-0f18f01cab135613298962c2a30ef94c534dea87.tar.gz emacs-0f18f01cab135613298962c2a30ef94c534dea87.tar.bz2 emacs-0f18f01cab135613298962c2a30ef94c534dea87.zip |
(easy-menu-remove): Add docstring.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easymenu.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easymenu.el b/lisp/emacs-lisp/easymenu.el index fb8ee479fd8..80011694296 100644 --- a/lisp/emacs-lisp/easymenu.el +++ b/lisp/emacs-lisp/easymenu.el @@ -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. |