From: Richard M. Stallman Date: Wed, 17 Jan 1996 17:23:04 +0000 (+0000) Subject: Doc menu-bar-update-hook. X-Git-Tag: emacs-19.34~1661 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd98ada94c137f0764431060427e7279f97a51ec;p=emacs.git Doc menu-bar-update-hook. --- diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index e8edf59b2a0..52189797c1c 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi @@ -1700,6 +1700,12 @@ value is @code{(help)}; thus, the @samp{Help} menu item normally appears at the end of the menu bar, following local menu items. @end defvar +@defvar menu-bar-update-hook +This normal hook is run whenever the user clicks on the menu bar, before +displaying a submenu. You can use it to update submenus whose contents +should vary. +@end defvar + @node Modifying Menus @subsection Modifying Menus