summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-04-23 21:22:51 +0000
committerRichard M. Stallman <rms@gnu.org>1998-04-23 21:22:51 +0000
commitbed23cb24b269a01a437ca83e26bc0830ff5cfa5 (patch)
treeae1b2558d24a121f24c3c7e9e168d5ed0846e951 /lisp
parentd67e2df9c3ab30fea86d9a9981e3f7e7dcddab4e (diff)
downloademacs-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