diff options
| author | Miles Bader | 2000-10-25 07:35:11 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-10-25 07:35:11 +0000 |
| commit | 2480a59bda7d8d612cd01c557ca16d60f246cb95 (patch) | |
| tree | b094083913b3c08ea4c9f3c1f40637737a387191 /src/editfns.c | |
| parent | 1d5f4c1de410a6cfa16d5ebf048946e17afdfa08 (diff) | |
| download | emacs-2480a59bda7d8d612cd01c557ca16d60f246cb95.tar.gz emacs-2480a59bda7d8d612cd01c557ca16d60f246cb95.zip | |
(find_field):
Use the correct overlay marker when checking after_overlay's start ins type.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
| 442 | also eat insertions here, but then they will overlap, and | 442 | also eat insertions here, but then they will overlap, and |
| 443 | there's not much we can do. */ | 443 | there's not much we can do. */ |
| 444 | stickiness = -1; | 444 | stickiness = -1; |
| 445 | else if (aop && XMARKER(OVERLAY_END(after_overlay))->insertion_type == 0) | 445 | else if (aop |
| 446 | && XMARKER (OVERLAY_START (after_overlay))->insertion_type == 0) | ||
| 446 | /* after_field is from an overlay, which expand to contain | 447 | /* after_field is from an overlay, which expand to contain |
| 447 | start-insertions. */ | 448 | start-insertions. */ |
| 448 | stickiness = 1; | 449 | stickiness = 1; |