From: Karl Heuer Date: Wed, 24 Jan 1996 23:38:23 +0000 (+0000) Subject: (set_frame_menubar): X-Git-Tag: emacs-19.34~1562 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a57634d46c0b9bbe2ec9e09330519e0e6fba2499;p=emacs.git (set_frame_menubar): Use safe_run_hooks for Qmenu_bar_update_hook. --- diff --git a/src/xmenu.c b/src/xmenu.c index 8c8e54e1287..36d15e50b9b 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1609,7 +1609,7 @@ set_frame_menubar (f, first_time, deep_p) 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)); items = FRAME_MENU_BAR_ITEMS (f);