mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(overlays_at): Only let CHANGE_REQ inhibit an assignment of startpos to
prev when startpos == pos.
This commit is contained in:
parent
a850ac03f0
commit
1d5f4c1de4
@ -2363,7 +2363,8 @@ overlays_at (pos, extend, vec_ptr, len_ptr, next_ptr, prev_ptr, change_req)
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user