diff options
| -rw-r--r-- | src/w32menu.c | 2 | ||||
| -rw-r--r-- | src/xmenu.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/src/w32menu.c b/src/w32menu.c index c3945076537..a169e267e31 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -1405,7 +1405,7 @@ set_frame_menubar (f, first_time)       because it is not reentrant.  */    specbind (Qdebug_on_next_call, Qnil); -  record_unwind_protect (Fstore_match_data, Fmatch_data ()); +  record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil));    if (NILP (Voverriding_local_map_menu_flag))      {        specbind (Qoverriding_terminal_local_map, Qnil); diff --git a/src/xmenu.c b/src/xmenu.c index 46b75cc1dbb..fee4e97347e 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1665,7 +1665,7 @@ set_frame_menubar (f, first_time, deep_p)  	 because it is not reentrant.  */        specbind (Qdebug_on_next_call, Qnil); -      record_unwind_protect (Fstore_match_data, Fmatch_data ()); +      record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil));        if (NILP (Voverriding_local_map_menu_flag))  	{  	  specbind (Qoverriding_terminal_local_map, Qnil);  | 
