]> git.eshelyaron.com Git - emacs.git/commitdiff
(read1): Call multibyte_chars_in_text
authorKenichi Handa <handa@m17n.org>
Thu, 19 Mar 1998 07:34:29 +0000 (07:34 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 19 Mar 1998 07:34:29 +0000 (07:34 +0000)
instead of chars_in_text because we must ignore
enable-multibyte-characters here.

src/lread.c

index ee1f6be9b999e01c52c0807a2eeb22792dfcc9f5..0d04bc0c814846ba1d764d9064a7fd35617f3095 100644 (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;