1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00

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

safe_run_hooks.
This commit is contained in:
Gerd Moellmann 2001-02-19 13:30:31 +00:00
parent 950eaee7c6
commit 65048e9733
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,11 @@
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.

View file

@ -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. */