diff src/w32menu.c @ 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 c33b80a45f6a
children eb7af01c7f27
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))