From 05d5b93e409a24ed8fe6bdbf0cc8a9723d33c816 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 21 Jun 1993 19:37:49 +0000 Subject: [PATCH] (Fremove_text_properties, Fadd_text_properties): Really do next_interval when skipping the first interval. --- src/textprop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/textprop.c b/src/textprop.c index d5f3852cae7..ea796887457 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -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. */