Mercurial > emacs
diff src/xmenu.c @ 63147:9bde03db5726
* composite.c (compose_chars_in_text):
* eval.c (do_autoload):
* macmenu.c (set_frame_menubar):
* process.c (read_process_output, exec_sentinel):
* xmenu.c (set_frame_menubar):
* xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar):
* w32menu.c (set_frame_menubar):
Use record_unwind_save_match_data.
Rename restore_match_data to restore_search_regs.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 08 Jun 2005 22:33:36 +0000 |
parents | 6b334ce606ca |
children | a8fa7c632ee4 e58cb448e07c 173dee4e2611 |
line wrap: on
line diff
--- a/src/xmenu.c Wed Jun 08 22:32:33 2005 +0000 +++ b/src/xmenu.c Wed Jun 08 22:33:36 2005 +0000 @@ -2030,7 +2030,7 @@ because it is not reentrant. */ specbind (Qdebug_on_next_call, Qnil); - record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); + record_unwind_save_match_data (); record_unwind_protect (unuse_menu_items, Qnil); if (NILP (Voverriding_local_map_menu_flag)) {