From: Kenichi Handa Date: Tue, 3 Mar 1998 07:18:46 +0000 (+0000) Subject: (insert_1_both): If enable-multibyte-characters is nil, X-Git-Tag: emacs-20.3~2020 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57404188926f1287ad90b0cf91290aa093196e3e;p=emacs.git (insert_1_both): If enable-multibyte-characters is nil, insert each byte as one character. --- diff --git a/src/insdel.c b/src/insdel.c index 54d1cf1606e..536e9e7767b 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -800,6 +800,9 @@ insert_1_both (string, nchars, nbytes, inherit, prepare, before_markers) { register Lisp_Object temp; + if (NILP (current_buffer->enable_multibyte_characters)) + nchars = nbytes; + if (prepare) prepare_to_modify_buffer (PT, PT, NULL);