]> git.eshelyaron.com Git - emacs.git/commitdiff
* w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with
authorJason Rumney <jasonr@gnu.org>
Fri, 23 Feb 2001 10:15:27 +0000 (10:15 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 23 Feb 2001 10:15:27 +0000 (10:15 +0000)
safe_run_hooks.

src/w32menu.c

index 49052c323088f35825ef740669aa1ef020167c09..c2c8915805850cc171d90d71862230e78dcafc26 100644 (file)
@@ -1341,7 +1341,7 @@ set_frame_menubar (f, first_time, deep_p)
       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))