Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
63146:7dced3c64549 | 63147:9bde03db5726 |
---|---|
2028 specbind (Qinhibit_quit, Qt); | 2028 specbind (Qinhibit_quit, Qt); |
2029 /* Don't let the debugger step into this code | 2029 /* Don't let the debugger step into this code |
2030 because it is not reentrant. */ | 2030 because it is not reentrant. */ |
2031 specbind (Qdebug_on_next_call, Qnil); | 2031 specbind (Qdebug_on_next_call, Qnil); |
2032 | 2032 |
2033 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); | 2033 record_unwind_save_match_data (); |
2034 record_unwind_protect (unuse_menu_items, Qnil); | 2034 record_unwind_protect (unuse_menu_items, Qnil); |
2035 if (NILP (Voverriding_local_map_menu_flag)) | 2035 if (NILP (Voverriding_local_map_menu_flag)) |
2036 { | 2036 { |
2037 specbind (Qoverriding_terminal_local_map, Qnil); | 2037 specbind (Qoverriding_terminal_local_map, Qnil); |
2038 specbind (Qoverriding_local_map, Qnil); | 2038 specbind (Qoverriding_local_map, Qnil); |