Commit c7b6dfa6 authored by Karl Heuer's avatar Karl Heuer

(Fnext_property_change): Fix previous change.

parent cd323f89
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment