Commit 65048e97 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(update_menu_bar): Run activate-menu-bar-hook with

safe_run_hooks.
parent 950eaee7
2001-02-19 Gerd Moellmann <gerd@gnu.org>
* xmenu.c (set_frame_menubar): Run activate-menu-bar-hook with
safe_run_hooks.
* xdisp.c (update_menu_bar): Run activate-menu-bar-hook with
safe_run_hooks.
* emacs.c (malloc_initialize_hook): Handle case thet `environ'
is null.
......
......@@ -7033,7 +7033,7 @@ update_menu_bar (f, save_match_data)
}
/* Run the Lucid hook. */
call1 (Vrun_hooks, Qactivate_menubar_hook);
safe_run_hooks (Qactivate_menubar_hook);
/* If it has changed current-menubar from previous value,
really recompute the menu-bar from the value. */
......
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