summaryrefslogtreecommitdiff
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
commite15194c30fa3dbaab6af2e79a90b4cdf8f6d7f17 (patch)
treecbe4bae4bc7e04d3a59f5b45fff3784b59068001
parent31c17cd02931acbd15089dcb094943b5173fa224 (diff)
downloademacs-e15194c30fa3dbaab6af2e79a90b4cdf8f6d7f17.tar.gz
Doc menu-bar-update-hook.
-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