(Fnext_property_change): Fix previous change.
This commit is contained in:
parent
cd323f896b
commit
c7b6dfa6df
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue