Commit dfda7a7f authored by Richard M. Stallman's avatar Richard M. Stallman

(reset_buffer): Clear mark_active field here.

(reset_buffer_local_variables): Not here.
parent 1f5038b5
......@@ -279,6 +279,7 @@ reset_buffer (b)
b->overlays_before = Qnil;
b->overlays_after = Qnil;
XFASTINT (b->overlay_center) = 1;
b->mark_active = Qnil;
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
INITIALIZE_INTERVAL (b, NULL_INTERVAL);
......@@ -304,7 +305,6 @@ reset_buffer_local_variables (b)
b->upcase_table = Vascii_upcase_table;
b->case_canon_table = Vascii_downcase_table;
b->case_eqv_table = Vascii_upcase_table;
b->mark_active = Qnil;
#if 0
b->sort_table = XSTRING (Vascii_sort_table);
b->folding_sort_table = XSTRING (Vascii_folding_sort_table);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment