aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xdisp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index da3d10a77b2..b9128fa0a7b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -290,7 +290,9 @@ message_dolog (m, len, nlflag, multibyte)
290 int old_windows_or_buffers_changed = windows_or_buffers_changed; 290 int old_windows_or_buffers_changed = windows_or_buffers_changed;
291 int point_at_end = 0; 291 int point_at_end = 0;
292 int zv_at_end = 0; 292 int zv_at_end = 0;
293 Lisp_Object old_deactivate_mark;
293 294
295 old_deactivate_mark = Vdeactivate_mark;
294 oldbuf = current_buffer; 296 oldbuf = current_buffer;
295 Fset_buffer (Fget_buffer_create (build_string ("*Messages*"))); 297 Fset_buffer (Fget_buffer_create (build_string ("*Messages*")));
296 current_buffer->undo_list = Qt; 298 current_buffer->undo_list = Qt;
@@ -414,6 +416,7 @@ message_dolog (m, len, nlflag, multibyte)
414 set_buffer_internal (oldbuf); 416 set_buffer_internal (oldbuf);
415 windows_or_buffers_changed = old_windows_or_buffers_changed; 417 windows_or_buffers_changed = old_windows_or_buffers_changed;
416 message_log_need_newline = !nlflag; 418 message_log_need_newline = !nlflag;
419 Vdeactivate_mark = old_deactivate_mark;
417 } 420 }
418} 421}
419 422
@@ -926,7 +929,7 @@ prepare_menu_bars ()
926 Lisp_Object tail, frame; 929 Lisp_Object tail, frame;
927 int count = specpdl_ptr - specpdl; 930 int count = specpdl_ptr - specpdl;
928 931
929 record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); 932 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil));
930 933
931 FOR_EACH_FRAME (tail, frame) 934 FOR_EACH_FRAME (tail, frame)
932 { 935 {
@@ -1629,7 +1632,7 @@ update_menu_bar (f, save_match_data)
1629 1632
1630 set_buffer_internal_1 (XBUFFER (w->buffer)); 1633 set_buffer_internal_1 (XBUFFER (w->buffer));
1631 if (save_match_data) 1634 if (save_match_data)
1632 record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); 1635 record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil));
1633 if (NILP (Voverriding_local_map_menu_flag)) 1636 if (NILP (Voverriding_local_map_menu_flag))
1634 { 1637 {
1635 specbind (Qoverriding_terminal_local_map, Qnil); 1638 specbind (Qoverriding_terminal_local_map, Qnil);