Mercurial > emacs
changeset 32856:5fe3b3dc5dd9
(overlays_at): Only let CHANGE_REQ inhibit an assignment of startpos to
prev when startpos == pos.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 25 Oct 2000 07:30:21 +0000 |
parents | 9e73952fac8c |
children | e3c81dc17582 |
files | src/buffer.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Wed Oct 25 07:16:44 2000 +0000 +++ b/src/buffer.c Wed Oct 25 07:30:21 2000 +0000 @@ -2363,7 +2363,8 @@ } else if (endpos < pos && endpos > prev) prev = endpos; - else if (endpos == pos && startpos > prev && !change_req) + else if (endpos == pos && startpos > prev + && (!change_req || startpos < pos)) prev = startpos; }