aboutsummaryrefslogtreecommitdiffstats
path: root/src/textprop.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-06-21 19:37:49 +0000
committerRichard M. Stallman1993-06-21 19:37:49 +0000
commit05d5b93e409a24ed8fe6bdbf0cc8a9723d33c816 (patch)
tree04ff891037e8ebff9a40c3de023aacb9ea260742 /src/textprop.c
parent0f99112d119eccf54aa2f64ae2ed089c084bfba3 (diff)
downloademacs-05d5b93e409a24ed8fe6bdbf0cc8a9723d33c816.tar.gz
emacs-05d5b93e409a24ed8fe6bdbf0cc8a9723d33c816.zip
(Fremove_text_properties, Fadd_text_properties):
Really do next_interval when skipping the first interval.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
1 files changed, 2 insertions, 0 deletions
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.")
643 if (got >= len) 643 if (got >= len)
644 return Qnil; 644 return Qnil;
645 len -= got; 645 len -= got;
646 i = next_interval (i);
646 } 647 }
647 else 648 else
648 { 649 {
@@ -815,6 +816,7 @@ Return t if any property was actually removed, nil otherwise.")
815 if (got >= len) 816 if (got >= len)
816 return Qnil; 817 return Qnil;
817 len -= got; 818 len -= got;
819 i = next_interval (i);
818 } 820 }
819 /* Split away the beginning of this interval; what we don't 821 /* Split away the beginning of this interval; what we don't
820 want to modify. */ 822 want to modify. */