Commit a57634d4 authored by Karl Heuer's avatar Karl Heuer
Browse files

(set_frame_menubar):

Use safe_run_hooks for Qmenu_bar_update_hook.
parent f008ca58
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment