Commit 2480a59b authored by Miles Bader's avatar Miles Bader
Browse files


  Use the correct overlay marker when checking after_overlay's start ins type.
parent 1d5f4c1d
......@@ -442,7 +442,8 @@ find_field (pos, merge_at_boundary, beg, end)
also eat insertions here, but then they will overlap, and
there's not much we can do. */
stickiness = -1;
else if (aop && XMARKER(OVERLAY_END(after_overlay))->insertion_type == 0)
else if (aop
&& XMARKER (OVERLAY_START (after_overlay))->insertion_type == 0)
/* after_field is from an overlay, which expand to contain
start-insertions. */
stickiness = 1;
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