changeset 21054:5d592343630f

(insert_1_both): If enable-multibyte-characters is nil, insert each byte as one character.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 07:18:46 +0000
parents 77d489dd420a
children fe52c7823ecb
files src/insdel.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/insdel.c	Tue Mar 03 07:18:46 1998 +0000
+++ b/src/insdel.c	Tue Mar 03 07:18:46 1998 +0000
@@ -800,6 +800,9 @@
 {
   register Lisp_Object temp;
 
+  if (NILP (current_buffer->enable_multibyte_characters))
+    nchars = nbytes;
+
   if (prepare)
     prepare_to_modify_buffer (PT, PT, NULL);