| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
and force_multibyte correctly.
|
| | |
|
| |
| |
| |
| | |
emacs_mule_charset correctly.
|
| | |
|
| | |
|
| |
| |
| |
| | |
version is 0.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(Qget_emacs_mule_file_char, Qload_force_doc_strings,
load_each_byte, unread_char): New variables.
(readchar_backlog): This variable deleted.
(readchar): Return a character unless load_each_byte is nonzero.
Handle the case that readcharfun is Qget_emacs_mule_file_char or a
cons. If unread_char is not -1, simply return it.
(unreadchar): Handle the case that readcharfun is
Qget_emacs_mule_file_char or a cons. Set unread_char if
necessary.
(read_multibyte): This function deleted.
(readbyte_for_lambda, readbyte_from_file, readbyte_from_string)
(read_emacs_mule_char): New functions.
(Fload): Even if the file doesn't have the extention ".elc", if
safe_to_load_p returns a positive version number, assume that the
file contains bytecompiled code. If the version is less than 22,
load the file while decoding multibyte sequences by emacs-mule.
(readevalloop): Don't use readchar_backlog.
(Fread): Likewise. Pay attention to the case that STREAM is a
cons.
(Fread_from_string): Pay attention to the case that STREAM is a
cons.
(read_escape): The arg BYTEREP deleted.
(read1): Set load_each_byte to 1 temporarily while handling
#@NUMBER. Don't call read_multibyte.
(read_vector): Call Fread with a cons. If readcharfun is
Qget_emacs_mule_file_char, decode the read string by emacs-mule.
(read_list): If doc_reference is 2, make the cdr part string as
unibyte.
(syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
and Qload_force_doc_strings.
|
| |
| |
| |
| | |
<version == 20>: Refuse to load.
|
| |
| |
| |
| |
| | |
(safe_to_load_p): If safe, return the magic number version byte.
(Fload): Maybe use load-with-code-conversion.
|
| |
| |
| |
| |
| |
| |
| | |
(read_multibyte): New arg NBYTES.
(read_escape): The meaning of returned *BYTEREP changed.
(to_multibyte): Deleted.
(read1): Adjuted the handling of char table and string.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
arguemnt is in ASCII range.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(Fload): Don't check STRING_MULTIBYTE.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Recognize "[", ";", "#", and "?" after a dotted-pair dot.
Only recognize "," after dotted-pair dot if inside backquote.
Never include "`" or "," (inside backquote) in a symbol.
Allow dotted-pair dot after a character constant.
Allow "`" and "," (inside backquote) after a character constant.
|
| |
| |
| |
| |
| |
| | |
for \s-X in a character constant which still is the super modifier.
(read1): Signal an `invalid read syntax' error if a character
constant is immediately followed by a digit or symbol character.
|
| | |
|
| |
| |
| |
| |
| | |
(Fload): Handle errors in Fsubstitute_in_file_name.
Don't expect Fsignal to return.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(Fload): Doc fix (load-suffixes).
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
is already in the Vload_history element.
(syms_of_lread): Doc fix.
|
| |
| |
| |
| |
| |
| | |
now point to const.
(complete_filename_p, openp): Use const for pointer to
lisp string data.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
|
| | |
|
| | |
|
| |
| |
| |
| | |
(read1): Fix int/Lisp_Object mixup.
|
| | |
|
| |
| |
| |
| | |
function parameters.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(readchar): Increment it.
(unreadchar): Decrement it.
(read_multibyte): Decrement it.
(Vread_with_symbol_positions): New variable.
(Vread_symbol_positions_list): New variable.
(read_internal_start): New function, created from Fread and
Fread_from_string. Handle Vread_symbol_positions_list and
Vread_with_symbol_positions.
(readevalloop, Fread, Fread_from_string): Use it.
(read1): Use readchar_count to add symbol positions to
Vread_symbol_positions_list if Vread_with_symbol_positions is
non-nil.
(syms_of_lread): DEFVAR_LISP and initialize them.
|
| |
| |
| |
| |
| |
| | |
instead of XSYMBOL and name field.
(Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and
name field and XSETSTRING.
|
| |
| |
| |
| |
| |
| |
| | |
(build_load_history): Use XCAR/XCDR.
(Flocate_file_internal): New fun.
(syms_of_lread): Defsubr it.
(Fload): Update call to openp.
|
| |
| |
| |
| |
| |
| | |
to `stat', `access', and `emacs_open'.
(openp): GCPRO the encoded file name. Don't recompute Lisp
strings unnecessarily.
|
| |
| |
| |
| | |
string it is given like a C string.
|