mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(property_change_between_p): Test NULL_INTERVAL_P
in loop, before looking at next->position.
This commit is contained in:
parent
5843fef346
commit
e050ef745e
@ -568,6 +568,8 @@ property_change_between_p (beg, end)
|
||||
while (! NULL_INTERVAL_P (next) && intervals_equal (i, next))
|
||||
{
|
||||
next = next_interval (next);
|
||||
if (NULL_INTERVAL_P (next))
|
||||
return 0;
|
||||
if (next->position >= end)
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user