summaryrefslogtreecommitdiff
path: root/src/insdel.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-10-31 05:24:11 +0000
committerKenichi Handa <handa@m17n.org>1998-10-31 05:24:11 +0000
commitb80f1b20d3c66f2858c183047a972cd42fe8055b (patch)
tree744d3e1651bc8f4f44c24c7e771061aedc316c23 /src/insdel.c
parent61520ce75b63eae519495b76054dea1085f8f452 (diff)
downloademacs-b80f1b20d3c66f2858c183047a972cd42fe8055b.tar.gz
(replace_range): Fix previous change.
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 7ec6f25f225..3806d3809e6 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1876,7 +1876,9 @@ replace_range (from, to, new, prepare, inherit, markers)
*(GPT_ADDR) = 0; /* Put an anchor. */
if (markers)
adjust_markers_for_insert (from, from_byte, to, to_byte, 0, 0, 0);
+ UNGCPRO;
byte_combining_error ();
+ GCPRO1 (new);
}
/* Record deletion of the surrounding text that combines with