Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
36312:aa32e4e49d10 | 36313:77093a87f2de |
---|---|
1339 } | 1339 } |
1340 | 1340 |
1341 set_buffer_internal_1 (XBUFFER (buffer)); | 1341 set_buffer_internal_1 (XBUFFER (buffer)); |
1342 | 1342 |
1343 /* Run the Lucid hook. */ | 1343 /* Run the Lucid hook. */ |
1344 call1 (Vrun_hooks, Qactivate_menubar_hook); | 1344 safe_run_hooks (Qactivate_menubar_hook); |
1345 /* If it has changed current-menubar from previous value, | 1345 /* If it has changed current-menubar from previous value, |
1346 really recompute the menubar from the value. */ | 1346 really recompute the menubar from the value. */ |
1347 if (! NILP (Vlucid_menu_bar_dirty_flag)) | 1347 if (! NILP (Vlucid_menu_bar_dirty_flag)) |
1348 call0 (Qrecompute_lucid_menubar); | 1348 call0 (Qrecompute_lucid_menubar); |
1349 safe_run_hooks (Qmenu_bar_update_hook); | 1349 safe_run_hooks (Qmenu_bar_update_hook); |