diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-04-23 21:22:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-04-23 21:22:51 +0000 |
commit | bed23cb24b269a01a437ca83e26bc0830ff5cfa5 (patch) | |
tree | ae1b2558d24a121f24c3c7e9e168d5ed0846e951 /lisp | |
parent | d67e2df9c3ab30fea86d9a9981e3f7e7dcddab4e (diff) | |
download | emacs-bed23cb24b269a01a437ca83e26bc0830ff5cfa5.tar.gz emacs-bed23cb24b269a01a437ca83e26bc0830ff5cfa5.tar.bz2 emacs-bed23cb24b269a01a437ca83e26bc0830ff5cfa5.zip |
(read_from_string_index_byte): New variable.
(read_from_string_index): Now counts characters.
(readchar, unreadchar, Fread_from_string): Changed accordingly.
(readchar): Read a multibyte char all at once
from a buffer, marker or string.
(unreadchar): Unread a multibyte char all at once.
(read1): Properly handle non-escaped multibyte chars.
They force a string to be multibyte.
When reading direct from a file, any multibyte sequence means
a multibyte string.
Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking
for read_buffer full; this way need not check specially for multibyte.
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions