changeset 36313:77093a87f2de

* w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with safe_run_hooks.
author Jason Rumney <jasonr@gnu.org>
date Fri, 23 Feb 2001 10:15:27 +0000
parents aa32e4e49d10
children dc1d222b639d
files src/w32menu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32menu.c	Fri Feb 23 10:11:40 2001 +0000
+++ b/src/w32menu.c	Fri Feb 23 10:15:27 2001 +0000
@@ -1341,7 +1341,7 @@
       set_buffer_internal_1 (XBUFFER (buffer));
 
       /* 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 menubar from the value.  */
       if (! NILP (Vlucid_menu_bar_dirty_flag))