(Fnext_property_change): Fix previous change.

This commit is contained in:
Karl Heuer 1995-03-24 22:46:42 +00:00
parent cd323f896b
commit c7b6dfa6df

View file

@ -618,7 +618,12 @@ past position LIMIT; return LIMIT if nothing is found before LIMIT.")
bother checking further intervals. */
if (EQ (limit, Qt))
{
XSETFASTINT (pos, next->position - (STRINGP (object)));
if (NULL_INTERVAL_P (next))
XSETFASTINT (pos, (STRINGP (object)
? XSTRING (object)->size
: BUF_ZV (XBUFFER (object))));
else
XSETFASTINT (pos, next->position - (STRINGP (object)));
return pos;
}