aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index 8a90eae7ec7..c5af0aae980 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -1443,7 +1443,8 @@ set_frame_menubar (f, first_time, deep_p)
1443 because it is not reentrant. */ 1443 because it is not reentrant. */
1444 specbind (Qdebug_on_next_call, Qnil); 1444 specbind (Qdebug_on_next_call, Qnil);
1445 1445
1446 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); 1446 record_unwind_save_match_data ();
1447
1447 if (NILP (Voverriding_local_map_menu_flag)) 1448 if (NILP (Voverriding_local_map_menu_flag))
1448 { 1449 {
1449 specbind (Qoverriding_terminal_local_map, Qnil); 1450 specbind (Qoverriding_terminal_local_map, Qnil);