mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 12:03:55 -08:00
(Fremove_text_properties, Fadd_text_properties):
Really do next_interval when skipping the first interval.
This commit is contained in:
parent
0f99112d11
commit
05d5b93e40
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue