Mercurial > emacs
changeset 14299:037a89c9d068
(update_menu_bar):
Use safe_run_hooks for Qmenu_bar_update_hook.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 Jan 1996 23:40:09 +0000 |
parents | 6448a36ceaad |
children | f777822a5d81 |
files | src/xdisp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Wed Jan 24 23:38:23 1996 +0000 +++ b/src/xdisp.c Wed Jan 24 23:40:09 1996 +0000 @@ -1330,7 +1330,7 @@ really recompute the menubar from the value. */ if (! NILP (Vlucid_menu_bar_dirty_flag)) call0 (Qrecompute_lucid_menubar); - call1 (Vrun_hooks, Qmenu_bar_update_hook); + safe_run_hooks (Qmenu_bar_update_hook); FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f)); #if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) if (FRAME_WINDOW_P (f))