(read1): Call multibyte_chars_in_text

instead of chars_in_text because we must ignore
enable-multibyte-characters here.
This commit is contained in:
Kenichi Handa 1998-03-19 07:34:29 +00:00
parent bab9ce2f56
commit 1d10ac5b4b

View file

@ -1795,7 +1795,7 @@ read1 (readcharfun, pch, first_in_list)
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;