Commit bd98ada9 authored by Richard M. Stallman's avatar Richard M. Stallman

Doc menu-bar-update-hook.

parent c208c8cd
...@@ -1700,6 +1700,12 @@ value is @code{(help)}; thus, the @samp{Help} menu item normally appears ...@@ -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. at the end of the menu bar, following local menu items.
@end defvar @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 @node Modifying Menus
@subsection Modifying Menus @subsection Modifying Menus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment