1
0
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:
Richard M. Stallman 1993-08-14 04:36:08 +00:00
parent 5843fef346
commit e050ef745e

View File

@ -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;
}