From e02500d4f5ca1240a6f5a6ce44652b13481ecdb1 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 24 Jan 1996 23:40:09 +0000 Subject: [PATCH] (update_menu_bar): Use safe_run_hooks for Qmenu_bar_update_hook. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2