Richard M. Stallman
1ed7b9ae26
(readevalloop): Abort if START non-nil for non-buffer input.
2006-05-12 02:08:23 +00:00
Luc Teirlinck
971a4293be
Declare Vload_file_rep_suffixes instead of
...
deleted variable default_suffixes.
(Fget_load_suffixes): New function.
(Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes.
No longer use deleted variable default_suffixes. Update docstring.
(syms_of_lread): defsubr Sget_load_suffixes.
Expand `load-suffixes' docstring.
Delete default_suffixes and DEFVAR_LISP the new variable
`load-file-rep-suffixes'.
2006-02-27 02:04:35 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Kenichi Handa
8b9d426ab7
(openp): Initialized encoded_fn before GCPRO it.
2006-02-06 12:36:25 +00:00
Eli Zaretskii
3fdf12ca11
(Fload): Don't leak the file descriptor returned by openp if we are going
...
to signal an error.
2006-01-20 19:54:07 +00:00
Richard M. Stallman
d11db2c8dd
(readevalloop): Test for reading a whole buffer
...
before actually reading anything. Handle all cases, including
START = END = nil and an already-narrowed buffer.
Convert END to a marker if it is a number.
2005-12-30 04:55:06 +00:00
Richard M. Stallman
721b7d9ee6
(readevalloop): Set PT and ZV in the proper buffer, not the current one.
2005-12-28 03:44:28 +00:00
Richard M. Stallman
010b7eace0
(read_escape) <\s>: Don't treat strings specially.
2005-12-08 17:43:52 +00:00
Stefan Monnier
0a37f51211
(readevalloop): Add missing GCPROs.
2005-11-16 18:39:15 +00:00
Stefan Monnier
c1ed1b2039
(readevalloop): Yet another int/Lisp_Object mixup (YAILOM).
2005-11-01 19:46:16 +00:00
Richard M. Stallman
b502a9a160
(build_load_history): Replace STREAM arg with ENTIRE.
...
(readevalloop): Compute ENTIRE properly.
(syms_of_lread) <load-history>: Doc fix.
2005-10-23 17:25:43 +00:00
Richard M. Stallman
0fc213e97e
(Fload): Simplify gcpro structure.
...
Gcpro FOUND as well as FILE, but not EFOUND.
Unless preloading, record FOUND instead of FILE in Vload_history.
Rename repeat local FILE to MSG_FILE.
(syms_of_lread) <load-history>: Doc fix.
2005-10-21 16:54:13 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Kim F. Storm
ebfe97a2d4
(load_unwind): Rework last change.
2005-07-20 14:40:35 +00:00
Kim F. Storm
c04d9e7047
(Fload, load_unwind): Use make_save_value to unwind
...
protect stream.
2005-07-20 14:29:00 +00:00
Kim F. Storm
f153db138b
(syms_of_lread): Initialize seen_list.
2005-07-14 11:24:00 +00:00
Richard M. Stallman
3f39f99678
(Qeval_buffer_list, Veval_buffer_list): New vars.
...
(syms_of_lread): Set up eval-buffer-list.
(Feval_buffer, Feval_region): Bind eval-buffer-list.
2005-07-10 17:02:49 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Richard M. Stallman
7690cbb0f9
(read1): 0.0e+NaN should make a "positive" NaN.
2005-06-25 04:31:49 +00:00
Juanma Barranquero
6fa2b890d4
(read_vector): Follow error conventions.
2005-06-23 16:10:06 +00:00
Eli Zaretskii
57a131fbc0
(Flocate_file_internal): Doc fix.
2005-05-06 13:00:53 +00:00
Lute Kamstra
9942fa0cc1
(Vloads_in_progress): Static.
2005-04-18 10:22:20 +00:00
Richard M. Stallman
8c9d5dbafe
(Vloads_in_progress): Not static.
2005-04-10 00:28:37 +00:00
Kim F. Storm
4c03c46d5f
(readevalloop): Add args START and END as region in
...
current buffer to read. Callers changed.
When specified, narrow to this region only when reading,
not during eval. Track next point to read from during eval.
Also restore point to "real" buffer position before eval.
(Feval_region): Don't save excursion and restriction here, and
don't narrow to region. Just pass region to readevalloop.
Note: Point is now preserved even when PRINTFLAG is nil.
2005-04-08 23:33:28 +00:00
Richard M. Stallman
0a25a2013e
(syms_of_lread) <user-init-file>: Doc fix.
2005-02-15 06:44:50 +00:00
Richard M. Stallman
1bc2cdb19d
(syms_of_lread) <load-history>: Doc fix.
2004-12-27 15:58:59 +00:00
Stefan Monnier
495bf63050
(readchar): Check QUIT when `getc' is interrupted.
2004-11-25 20:01:18 +00:00
Stefan Monnier
8bc285a288
(oblookup): Don't use XFASTINT blindly.
2004-11-23 05:06:56 +00:00
Kim F. Storm
95af0924b4
(read1): Fix next_char matching.
2004-11-09 13:24:19 +00:00
Andreas Schwab
d1ca81d9a8
(read1): Use BOOL_VECTOR_BITS_PER_CHAR instead of BITS_PER_CHAR for
...
bool vectors.
2004-04-26 21:28:40 +00:00
Steven Tamm
536d6baa1d
lread.c (init_lread): Fixing typo HAVE_CARBON test logic
2004-04-26 18:44:22 +00:00
Steven Tamm
f3d5f92d98
lread.c (init_lread): Don't display missing lisp directory
...
warnings with Carbon Emacs because self-contained bundled Emacs
may be build without correct installation path.
2004-04-25 21:07:58 +00:00
Stefan Monnier
2fcad71e3e
(defvar_per_buffer): Remove dead declaration.
2004-01-14 14:29:48 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Dave Love
bcdec28bc1
[HAVE_FCNTL_H]: Include fcntl.h.
2003-06-02 18:36:33 +00:00
Stefan Monnier
6f8eafd15c
(openp): Make sure STR is a string.
2003-06-01 18:03:00 +00:00
Stefan Monnier
11810d78df
(Fload): Print a message if package is obsolete.
2003-05-18 03:30:07 +00:00
Kenichi Handa
e613ea97b6
(read1): Before calling index, check if the 2nd
...
arguemnt is in ASCII range.
2003-04-09 07:12:51 +00:00
Richard M. Stallman
4773b8ca20
(openp): Get the Qfile_exists_p handler for STRING, not FN.
2003-04-08 17:11:00 +00:00
Richard M. Stallman
225c7a0732
(read1): After #!, exit loop on eof.
2003-03-14 23:05:10 +00:00
Kim F. Storm
b928437175
(read1): Accept `single space' syntax like (? x).
2003-02-25 12:29:03 +00:00
Juanma Barranquero
c33ef7c46f
2003-02-22 David Ponce <david@dponce.com>
...
(Fload): Don't check STRING_MULTIBYTE.
2003-02-22 18:24:48 +00:00
Kim F. Storm
068f98821b
(read1): Allow "?" after a character constant.
2003-02-18 22:45:45 +00:00
Kim F. Storm
cce5761e5e
(read1): Fix last change; "`" is not always special.
2003-02-18 16:11:17 +00:00
Kim F. Storm
df9c2be7f5
(read1): Fix and relax read syntax.
...
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.
2003-02-17 22:42:05 +00:00
Kim F. Storm
37cd423857
(read_escape): Interpret \s as a SPACE character, except
...
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.
2003-02-13 12:44:57 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Richard M. Stallman
164c8bfebc
(load_error_handler): New function.
...
(Fload): Handle errors in Fsubstitute_in_file_name.
Don't expect Fsignal to return.
2002-12-21 18:06:27 +00:00
Richard M. Stallman
6042a06e6e
(syms_of_lread) <load-history>: Doc fix.
2002-12-07 21:40:19 +00:00
John Paul Wallington
3f9ab8042b
(Feval_buffer): Doc fix.
2002-11-04 19:16:29 +00:00