(read1): Call multibyte_chars_in_text
instead of chars_in_text because we must ignore enable-multibyte-characters here.
This commit is contained in:
parent
bab9ce2f56
commit
1d10ac5b4b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue