# HG changeset patch # User Richard M. Stallman # Date 821899384 0 # Node ID ac3f51460e075cf43df1e3196e103da95eb5d6bf # Parent d018e8da6435ce7860b1009e548bad358c5f4d08 Doc menu-bar-update-hook. diff -r d018e8da6435 -r ac3f51460e07 lispref/keymaps.texi --- a/lispref/keymaps.texi Wed Jan 17 00:24:29 1996 +0000 +++ b/lispref/keymaps.texi Wed Jan 17 17:23:04 1996 +0000 @@ -1700,6 +1700,12 @@ 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