1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

(insert_from_string_1): Decrement GAP_SIZE by

outgoing_nbytes.
This commit is contained in:
Kenichi Handa 1998-01-12 05:49:45 +00:00
parent 28246d85b1
commit 7792090e89

View file

@ -944,7 +944,7 @@ insert_from_string_1 (string, pos, pos_byte, nchars, nbytes,
/* 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;