From 0f18f01cab135613298962c2a30ef94c534dea87 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 19 Sep 2002 05:12:24 +0000 Subject: [PATCH] (easy-menu-remove): Add docstring. --- lisp/emacs-lisp/easymenu.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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. -- 2.39.2