mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(update_menu_bar):
Use safe_run_hooks for Qmenu_bar_update_hook.
This commit is contained in:
parent
a57634d46c
commit
e02500d4f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue