aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-09-22 16:11:48 +0000
committerDave Love2000-09-22 16:11:48 +0000
commit0bca89401acf4c0978be2fa72685b5ce1f319255 (patch)
tree4083e56f7ace02ef1113202ab7d3f7c4ab964d0e /src
parent3b5f09667922db312b7f156aea9d62dfbbf18c19 (diff)
downloademacs-0bca89401acf4c0978be2fa72685b5ce1f319255.tar.gz
emacs-0bca89401acf4c0978be2fa72685b5ce1f319255.zip
(syms_of_xdisp): Defvar Vmenu_bar_update_hook to provide
a doc string.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 899e0d2fa9b..c56cffa951d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -357,7 +357,7 @@ Lisp_Object Vicon_title_format;
357 357
358static Lisp_Object Vwindow_size_change_functions; 358static Lisp_Object Vwindow_size_change_functions;
359 359
360Lisp_Object Qmenu_bar_update_hook; 360Lisp_Object Qmenu_bar_update_hook, Vmenu_bar_update_hook;
361 361
362/* Nonzero if overlay arrow has been displayed once in this window. */ 362/* Nonzero if overlay arrow has been displayed once in this window. */
363 363
@@ -13645,6 +13645,11 @@ Each element of the list is a symbol for a supported image type.");
13645 "If non-nil, messages are truncated instead of resizing the echo area.\n\ 13645 "If non-nil, messages are truncated instead of resizing the echo area.\n\
13646Bind this around calls to `message' to let it take effect."); 13646Bind this around calls to `message' to let it take effect.");
13647 message_truncate_lines = 0; 13647 message_truncate_lines = 0;
13648
13649 DEFVAR_LISP ("menu-bar-update-hook", &Vmenu_bar_update_hook,
13650 "Normal hook run for clicks on menu bar, before displaying a submenu.\n\
13651Can be used to update submenus whose contents should vary.");
13652
13648} 13653}
13649 13654
13650 13655