From: Jason Rumney Date: Fri, 23 Feb 2001 10:15:27 +0000 (+0000) Subject: * w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with X-Git-Tag: emacs-pretest-21.0.99~195 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c53b6500e8061c1cfc39ac35e9a5d70b0c648226;p=emacs.git * w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with safe_run_hooks. --- diff --git a/src/w32menu.c b/src/w32menu.c index 49052c32308..c2c89158058 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -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))