From: Karl Heuer Date: Wed, 24 Jan 1996 23:40:09 +0000 (+0000) Subject: (update_menu_bar): X-Git-Tag: emacs-19.34~1561 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e02500d4f5ca1240a6f5a6ce44652b13481ecdb1;p=emacs.git (update_menu_bar): Use safe_run_hooks for Qmenu_bar_update_hook. --- diff --git a/src/xdisp.c b/src/xdisp.c index e89e843d6a2..23e58d221ce 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1330,7 +1330,7 @@ update_menu_bar (f, save_match_data) 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))