# HG changeset patch # User Kenichi Handa # Date 884584185 0 # Node ID 818677afe7bc592dfcc2f42bd0c33703b4945626 # Parent a48d24f8726c78c80986de01d9046271c3c4fd16 (insert_from_string_1): Decrement GAP_SIZE by outgoing_nbytes. diff -r a48d24f8726c -r 818677afe7bc src/insdel.c --- a/src/insdel.c Mon Jan 12 05:49:45 1998 +0000 +++ b/src/insdel.c Mon Jan 12 05:49:45 1998 +0000 @@ -944,7 +944,7 @@ /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ offset_intervals (current_buffer, PT, nchars); - GAP_SIZE -= nbytes; + GAP_SIZE -= outgoing_nbytes; GPT += nchars; ZV += nchars; Z += nchars;