# HG changeset patch # User Jason Rumney # Date 982923327 0 # Node ID 77093a87f2debc6814f782aeee2bd0466f187aa9 # Parent aa32e4e49d103f438059fdc01cbbf25fc0b6c17e * w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with safe_run_hooks. diff -r aa32e4e49d10 -r 77093a87f2de src/w32menu.c --- 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))