# HG changeset patch # User Gerd Moellmann # Date 1004097741 0 # Node ID 97afe8612d00e5df38b9decb7eb3ab9b9ecad86f # Parent a64070429637170b08611dece8438f8e984e8395 (insert_1_both): Do nothing if NCHARS == 0. diff -r a64070429637 -r 97afe8612d00 src/insdel.c --- a/src/insdel.c Fri Oct 26 11:59:32 2001 +0000 +++ b/src/insdel.c Fri Oct 26 12:02:21 2001 +0000 @@ -913,6 +913,9 @@ register int nchars, nbytes; int inherit, prepare, before_markers; { + if (nchars == 0) + return; + if (NILP (current_buffer->enable_multibyte_characters)) nchars = nbytes;