diff options
| author | Richard M. Stallman | 1998-08-02 02:43:47 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-08-02 02:43:47 +0000 |
| commit | 8db9dc66b14344bb533b495615cf7d9fdcb46c87 (patch) | |
| tree | 359084daf304b6c86859a754c6e3b2c40f09bad8 | |
| parent | f9628a49e7bd57f84b5d90f24281f395d1b195c2 (diff) | |
| download | emacs-8db9dc66b14344bb533b495615cf7d9fdcb46c87.tar.gz emacs-8db9dc66b14344bb533b495615cf7d9fdcb46c87.zip | |
(read1): In reading a string, treat Qlambda like Qget_file_char.
| -rw-r--r-- | src/lread.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c index fa0219deb49..ead6e87e59a 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1942,10 +1942,13 @@ read1 (readcharfun, pch, first_in_list) | |||
| 1942 | return Fstring_make_unibyte (string); | 1942 | return Fstring_make_unibyte (string); |
| 1943 | } | 1943 | } |
| 1944 | } | 1944 | } |
| 1945 | else if (EQ (readcharfun, Qget_file_char)) | 1945 | else if (EQ (readcharfun, Qget_file_char) |
| 1946 | || EQ (readcharfun, Qlambda)) | ||
| 1946 | /* Nowadays, reading directly from a file | 1947 | /* Nowadays, reading directly from a file |
| 1947 | is used only for compiled Emacs Lisp files, | 1948 | is used only for compiled Emacs Lisp files, |
| 1948 | and those always use the Emacs internal encoding. */ | 1949 | and those always use the Emacs internal encoding. |
| 1950 | Meanwhile, Qlambda is used for reading dynamic byte code | ||
| 1951 | (compiled with byte-compile-dynamic = t). */ | ||
| 1949 | nchars = multibyte_chars_in_text (read_buffer, p - read_buffer); | 1952 | nchars = multibyte_chars_in_text (read_buffer, p - read_buffer); |
| 1950 | else | 1953 | else |
| 1951 | /* In all other cases, if we read these bytes as | 1954 | /* In all other cases, if we read these bytes as |