summaryrefslogtreecommitdiff
path: root/src/lread.c
Commit message (Collapse)AuthorAgeFilesLines
* (Feval_region): Remove obsolete #ifdef'd-out code (eval-current-buffer).Pavel Janík2001-11-071-207/+179
| | | | Change doc-string comments to `new style' [w/`doc:' keyword].
* (read1): Fix behavior with nested backquoting.Stefan Monnier2001-11-061-4/+4
|
* (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of treating XCAR and XCDRKen Raeburn2001-11-031-5/+5
| | | | | | as lvalues. (openp): Use CHECK_STRING_CAR. (read_list): Use XSETCDR instead of treating XCDR as lvalue.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-9/+9
|
* (to_multibyte): Fix computation of new read_buffer_size.Gerd Moellmann2001-10-311-1/+1
|
* (read1): Remove debugging code.Gerd Moellmann2001-10-301-3/+0
|
* (to_multibyte): Ensure read_buffer is at least twiceGerd Moellmann2001-10-301-1/+4
| | | | as large as the number of bytes to convert.
* (to_multibyte): New function.Gerd Moellmann2001-10-301-13/+50
| | | | (read1): Use it.
* (syms_of_lread)<recursive-load-depth-limit>: Raise toGerd Moellmann2001-10-231-13/+10
| | | | 50.
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-9/+12
| | | | with lisp system changes.
* (substitute_object_recurse): Use traverse_intervals_noorder.Stefan Monnier2001-10-121-3/+5
| | | | (syms_of_lread) <Vafter_load_alist>: Update docstring.
* (syms_of_lread) <load-suffixes>: Fix last change:Eli Zaretskii2001-10-121-1/+1
| | | | multi-line strings without a trailing "\n\".
* (syms_of_lread): Fix init of default_suffixes.Stefan Monnier2001-10-121-1/+2
|
* (Vload_suffixes, default_suffixes): New vars.Stefan Monnier2001-10-121-44/+64
| | | | | | | | (openp): Take a lisp list of suffixes. Check for file-name-handlers even if the file was absolute already. (syms_of_lread): Declare load-suffixes. (Fload): Fix up call to openp. Don't bother checking for file-name-handler at the very beginning.
* (Fintern, Funintern): Set symbol's interned and constantGerd Moellmann2001-10-051-9/+21
| | | | | bit-fields. (init_obarray): Likewise for t and nil.
* (Fload): Document that the argument is run via substitute-in-file-name.Eli Zaretskii2001-06-021-1/+2
|
* (Fload): Remove unused label.Gerd Moellmann2001-05-281-2/+0
|
* (read_multibyte): Check the validity of multibyte sequence. IfKenichi Handa2001-03-131-1/+8
| | | | invalid, return the first byte.
* Use display_hourglass_p, start_hourglass, cancel_hourglass instead ofGerd Moellmann2001-02-211-5/+5
| | | | the old names.
* (read_integer): Use type EMACS_INT instead of int.Gerd Moellmann2001-01-251-1/+2
|
* (read1): Recognize end of file after `\\'.Gerd Moellmann2000-12-151-0/+2
|
* (file_offset, file_tell): Depend on HAVE_FSEEKO, notGerd Moellmann2000-12-111-1/+1
| | | | HAVE_FTELLO.
* (read1): Change the way buffers are reallocated to beGerd Moellmann2000-12-081-12/+14
| | | | portable and less obfuscated.
* (Fload): Fix #ifdef for pcc.Dave Love2000-11-171-2/+2
|
* (openp): Return -2 instead of 0 for the `remote file' case.Miles Bader2000-11-131-38/+40
| | | | | (Fload): Use new openp return protocol. Don't try to use Vload_source_file_function to load .elc files.
* (Vrecursive_load_depth_limit): New variable.Gerd Moellmann2000-09-211-26/+45
| | | | | | (Fload): Check recursive loads whose recursion depth exceeds Vrecursive_load_depth_limit. (syms_of_lread): DERFAR_LISP recursive-load-depth-limit.
* (Fload): Put code checking for recursive loads in #if 0.Gerd Moellmann2000-09-121-0/+5
|
* (init_lread): Set Vloads_in_progress to nil.Gerd Moellmann2000-09-111-1/+3
| | | | | (Fload): Show list of recursively loaded files, when signaling an error.
* (Vloads_in_progress): New variable.Gerd Moellmann2000-09-111-4/+35
| | | | | | | (record_load_unwind): New function. (Fload): Check for recursive loads. (syms_of_lread): Initialize Vloads_in_progress. (read_integer, read1): Avoid some compiler warnings.
* (syms_of_lread): Change value of regexpGerd Moellmann2000-09-071-1/+1
| | | | Vbytecomp_version_regexp to not match some XEmacs-compiled files.
* (syms_of_lread): Make Vbytecomp_version_regexp a LispGerd Moellmann2000-09-041-2/+8
| | | | variable; recognize Emacs 19 elc files.
* (read1): Accept `?' as symbol constituent, forGerd Moellmann2000-09-011-6/+7
| | | | compatiblity with XEmacs.
* (openp): GCPRO local variable `filename'.Gerd Moellmann2000-08-311-3/+3
|
* (openp): Prevent temporary string passed toGerd Moellmann2000-08-291-3/+5
| | | | Ffile_readable_p from being garbage collected.
* [USE_CRT_DLL]: Remove unnecessary extern, whichAndrew Innes2000-08-221-0/+2
| | | | screws up dllimport attributes.
* (Fread): Doc fix.Dave Love2000-08-201-1/+2
|
* Prototype readevalloop, load_unwind,Dave Love2000-08-171-4/+7
| | | | | load_descriptor_unwind. (unreadpure): Give it an arg.
* (readevalloop): If READCHARFUN sets point to ZV, arrangeGerd Moellmann2000-06-071-3/+18
| | | | | to stop reading, even if the form read sets point to a different value when evaluated.
* (_XOPEN_SOURCE, __EXTENSIONS__): Don't define.Dave Love2000-06-021-8/+0
|
* (Fload): Add a comment about the meaning ofGerd Moellmann2000-05-231-0/+1
| | | | Vuser_init_file being t.
* (read1): On reading multibyte string, be sure to makeKenichi Handa2000-05-201-11/+12
| | | | | all 8-bit chararacters in valid multibyte form. (readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
* (read1): Don't treat period followed by certainGerd Moellmann2000-04-271-1/+2
| | | | characters as symbol start.
* (end_of_file_error): New function.Gerd Moellmann2000-04-271-3/+21
| | | | (read1): Call it instead of signaling `end-of-file' directly.
* (read_filtered_event): Cancel and start busy cursor.Gerd Moellmann2000-04-181-0/+9
|
* make_number/XINT/XUINT conversions; EQ/== fixes; ==Qnil -> NILPKen Raeburn2000-04-051-1/+1
|
* (read1): Accept `.' (period) as symbol start like in CLGerd Moellmann2000-03-291-4/+1
| | | | and earlier Emacs versions.
* (Fload): Move safe_p definition to above #ifdef DOS_NT block.Jason Rumney2000-03-271-1/+1
|
* Use new macro names for handling per-buffer variables.Gerd Moellmann2000-03-271-3/+3
|
* (defvar_per_buffer): Use new macros for per-bufferGerd Moellmann2000-03-261-3/+4
| | | | variables.
* (load-history): Fix doc string.Dave Love2000-03-251-1/+1
|