changeset 21220:8cbc0182c543

(read1): Call multibyte_chars_in_text instead of chars_in_text because we must ignore enable-multibyte-characters here.
author Kenichi Handa <handa@m17n.org>
date Thu, 19 Mar 1998 07:34:29 +0000
parents 29d2cf14040a
children cb6ab6de7548
files src/lread.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Thu Mar 19 07:34:29 1998 +0000
+++ b/src/lread.c	Thu Mar 19 07:34:29 1998 +0000
@@ -1795,7 +1795,7 @@
 	  nchars = p - read_buffer;
 	else if (! NILP (buffer_defaults.enable_multibyte_characters)
 		 || force_multibyte)
-	  nchars = chars_in_text (read_buffer, p - read_buffer);
+	  nchars = multibyte_chars_in_text (read_buffer, p - read_buffer);
 	else
 	  nchars = p - read_buffer;