Commit c7b6dfa6 authored by Karl Heuer's avatar Karl Heuer
Browse files

(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))
? XSTRING (object)->size
: BUF_ZV (XBUFFER (object))));
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