diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
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 | ||
| 358 | static Lisp_Object Vwindow_size_change_functions; | 358 | static Lisp_Object Vwindow_size_change_functions; |
| 359 | 359 | ||
| 360 | Lisp_Object Qmenu_bar_update_hook; | 360 | Lisp_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\ |
| 13646 | Bind this around calls to `message' to let it take effect."); | 13646 | Bind 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\ | ||
| 13651 | Can be used to update submenus whose contents should vary."); | ||
| 13652 | |||
| 13648 | } | 13653 | } |
| 13649 | 13654 | ||
| 13650 | 13655 | ||