Commit 05d5b93e authored by Richard M. Stallman's avatar Richard M. Stallman

(Fremove_text_properties, Fadd_text_properties):

Really do next_interval when skipping the first interval.
parent 0f99112d
......@@ -643,6 +643,7 @@ Return t if any property value actually changed, nil otherwise.")
if (got >= len)
return Qnil;
len -= got;
i = next_interval (i);
}
else
{
......@@ -815,6 +816,7 @@ Return t if any property was actually removed, nil otherwise.")
if (got >= len)
return Qnil;
len -= got;
i = next_interval (i);
}
/* Split away the beginning of this interval; what we don't
want to modify. */
......
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