aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-09-19 05:12:24 +0000
committerStefan Monnier2002-09-19 05:12:24 +0000
commit0f18f01cab135613298962c2a30ef94c534dea87 (patch)
treeddba62ba4393a3306e85d035576da59317fcf736
parent21311ac9ecce18e75bdd7a965b7aa8369753e7ee (diff)
downloademacs-0f18f01cab135613298962c2a30ef94c534dea87.tar.gz
emacs-0f18f01cab135613298962c2a30ef94c534dea87.zip
(easy-menu-remove): Add docstring.
-rw-r--r--lisp/emacs-lisp/easymenu.el7
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."
463;; here easy-menu-remove is a noop and easy-menu-add only precalculates 463;; here easy-menu-remove is a noop and easy-menu-add only precalculates
464;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings 464;; equivalent keybindings (if easy-menu-precalculate-equivalent-keybindings
465;; is on). 465;; is on).
466(defalias 'easy-menu-remove 'ignore) 466(defalias 'easy-menu-remove 'ignore
467 "Remove MENU from the current menu bar.
468Contrary to XEmacs, this is a nop on Emacs since menus are automatically
469\(de)activated when the corresponding keymap is (de)activated.
470
471\(fn MENU)")
467 472
468(defun easy-menu-add (menu &optional map) 473(defun easy-menu-add (menu &optional map)
469 "Add the menu to the menubar. 474 "Add the menu to the menubar.