# HG changeset patch # User Richard M. Stallman # Date 889864021 0 # Node ID 482ff111ccbc639b90f889411bbeec5b81e2e945 # Parent 85fd58cb06548c68d1055661c37372e33bd7fe8d (message_dolog): Save and restore Vdeactivate_mark. (prepare_menu_bars): Fstore_match_data => Fset_match_data. (update_menu_bar): Likewise. diff -r 85fd58cb0654 -r 482ff111ccbc src/xdisp.c --- a/src/xdisp.c Sat Mar 14 08:23:56 1998 +0000 +++ b/src/xdisp.c Sat Mar 14 08:27:01 1998 +0000 @@ -290,7 +290,9 @@ int old_windows_or_buffers_changed = windows_or_buffers_changed; int point_at_end = 0; int zv_at_end = 0; - + Lisp_Object old_deactivate_mark; + + old_deactivate_mark = Vdeactivate_mark; oldbuf = current_buffer; Fset_buffer (Fget_buffer_create (build_string ("*Messages*"))); current_buffer->undo_list = Qt; @@ -414,6 +416,7 @@ set_buffer_internal (oldbuf); windows_or_buffers_changed = old_windows_or_buffers_changed; message_log_need_newline = !nlflag; + Vdeactivate_mark = old_deactivate_mark; } } @@ -926,7 +929,7 @@ Lisp_Object tail, frame; int count = specpdl_ptr - specpdl; - record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); + record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); FOR_EACH_FRAME (tail, frame) { @@ -1629,7 +1632,7 @@ set_buffer_internal_1 (XBUFFER (w->buffer)); if (save_match_data) - record_unwind_protect (Fstore_match_data, Fmatch_data (Qnil, Qnil)); + record_unwind_protect (Fset_match_data, Fmatch_data (Qnil, Qnil)); if (NILP (Voverriding_local_map_menu_flag)) { specbind (Qoverriding_terminal_local_map, Qnil);