From 57404188926f1287ad90b0cf91290aa093196e3e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 3 Mar 1998 07:18:46 +0000 Subject: [PATCH] (insert_1_both): If enable-multibyte-characters is nil, insert each byte as one character. --- src/insdel.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2