From bd98ada94c137f0764431060427e7279f97a51ec Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 17 Jan 1996 17:23:04 +0000 Subject: [PATCH] Doc menu-bar-update-hook. --- lispref/keymaps.texi | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.2