summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-17 17:23:04 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-17 17:23:04 +0000
commitbd98ada94c137f0764431060427e7279f97a51ec (patch)
treee5634ccada0d7c5f31b3856abebbc081275141e3 /lispref
parentc208c8cd68026ca0a24927eeccd587697c33ac83 (diff)
downloademacs-bd98ada94c137f0764431060427e7279f97a51ec.tar.gz
Doc menu-bar-update-hook.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/keymaps.texi6
1 files changed, 6 insertions, 0 deletions
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