Commit 612a65d9 authored by Martin Rudalics's avatar Martin Rudalics

In unwind_with_echo_area_buffer use set_marker_restricted_both

* src/xdisp.c (unwind_with_echo_area_buffer): Use
set_marker_restricted_both instead of set_marker_both to avoid
spurious assertion failures.
parent b079cfa8
Pipeline #930 failed with stage
in 59 minutes and 51 seconds
......@@ -11035,15 +11035,15 @@ unwind_with_echo_area_buffer (Lisp_Object vector)
buffer = AREF (vector, 4);
wset_buffer (w, buffer);
set_marker_both (w->pointm, buffer,
XFIXNAT (AREF (vector, 5)),
XFIXNAT (AREF (vector, 6)));
set_marker_both (w->old_pointm, buffer,
XFIXNAT (AREF (vector, 7)),
XFIXNAT (AREF (vector, 8)));
set_marker_both (w->start, buffer,
XFIXNAT (AREF (vector, 9)),
XFIXNAT (AREF (vector, 10)));
set_marker_restricted_both (w->pointm, buffer,
XFIXNAT (AREF (vector, 5)),
XFIXNAT (AREF (vector, 6)));
set_marker_restricted_both (w->old_pointm, buffer,
XFIXNAT (AREF (vector, 7)),
XFIXNAT (AREF (vector, 8)));
set_marker_restricted_both (w->start, buffer,
XFIXNAT (AREF (vector, 9)),
XFIXNAT (AREF (vector, 10)));
}
Vwith_echo_area_save_vector = vector;
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