From: Miles Bader Date: Wed, 25 Oct 2000 07:35:11 +0000 (+0000) Subject: (find_field): X-Git-Tag: emacs-pretest-21.0.90~594 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2480a59bda7d8d612cd01c557ca16d60f246cb95;p=emacs.git (find_field): Use the correct overlay marker when checking after_overlay's start ins type. --- diff --git a/src/editfns.c b/src/editfns.c index dcc64455b3c..2fe6468a96e 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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;