summaryrefslogtreecommitdiff
path: root/src/lread.c
Commit message (Collapse)AuthorAgeFilesLines
* (Fload): Fix typo in docstring.Juanma Barranquero2007-10-011-6/+6
|
* (load_warn_old_style_backquotes): Fix weird typo.Stefan Monnier2007-08-231-1/+1
|
* (load_warn_old_style_backquotes): Fix up array size typo.Stefan Monnier2007-08-231-2/+2
|
* (Qold_style_backquotes): New var.Stefan Monnier2007-08-221-4/+21
| | | | | | | (syms_of_lread): Init and staticpro it. (load_warn_old_style_backquotes): New fun. (Fload): Use them to warn about old style backquotes. (end_of_file_error, Fload): Remove unused vars.
* (syms_of_lread): Export old-style-backquotes to Elisp.Stefan Monnier2007-08-221-3/+4
|
* (Vold_style_backquotes): New var.Stefan Monnier2007-08-221-2/+12
| | | | | (syms_of_lread): Init and staticpro it. (read1): Set it when we find an old-style (back)quote.
* Replace `iff' in comments.Glenn Morris2007-08-081-3/+3
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (readchar): Extend BLOCK_INPUT block to ferror/clearerr.YAMAMOTO Mitsuharu2007-03-281-3/+3
|
* Include blockinput.h.YAMAMOTO Mitsuharu2007-03-201-2/+17
| | | | | | (readchar, Fget_file_char): Add BLOCK_INPUT around getc. (unreadchar): Add BLOCK_INPUT around ungetc. (load_unwind): Add BLOCK_INPUT around fclose.
* (syms_of_lread) <load-history>: Doc fix.Juanma Barranquero2007-02-031-4/+4
|
* (syms_of_lread) <user-init-file>: Doc fix.Juanma Barranquero2007-02-011-1/+3
| | | | Wording by Eli Zaretskii.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (Feval_buffer, Feval_region): Doc fix.Juanma Barranquero2006-12-101-3/+3
|
* (syms_of_lread): Fix typo in docstring.Juanma Barranquero2006-11-061-2/+2
|
* * lread.c (read_filtered_event): New arg SECONDS to wait until.Chong Yidong2006-07-261-21/+51
| | | | (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
* * ebrowse.c (usage, version): Mark as NO_RETURN.Dan Nicolaescu2006-07-181-0/+1
| | | | | | | | | | | | | | | | | * emacsclient.c (print_help_and_exit): Likewise. * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. * textprop.c (text_read_only): Likewise. * lread.c (end_of_file_error): Likewise. * lisp.h (circular_list_error, memory_full, buffer_memory_full): Likewise. * eval.c (unwind_to_catch): Likewise. * buffer.h (buffer_slot_type_mismatch): Likewise.
* (Fload): Use xsignal2, signal_error.Kim F. Storm2006-07-181-36/+40
| | | | | | | (end_of_file_error): Use xsignal0, xsignal1. (read0): Use xsignal1. (invalid_syntax): New error function marked no-return. (read_integer, read1, read_list): Use it.
* (check_obarray): Cleanup wrong_type_argument use.Kim F. Storm2006-07-121-5/+4
|
* (readevalloop): Remove unused var `bpos'. Yet another int/Lisp_Object mixup.Stefan Monnier2006-07-071-3/+2
|
* (read_filtered_event): Remove `register' qualifier because itStefan Monnier2006-07-071-1/+1
| | | | causes compilation problem with gcc-4.0.2-20051125 on amd64.
* (read_filtered_event): Treat select-window just like switch-frame.Stefan Monnier2006-07-021-1/+1
|
* Fix whitespace of last change.Eli Zaretskii2006-06-251-4/+4
|
* (read_escape): When an unknown Unicode code point is encountered as a stringEli Zaretskii2006-06-241-9/+4
| | | | or character escape, signal an error.
* (read_escape): Provide a Unicode character escape syntax; \u followed byEli Zaretskii2006-06-091-0/+49
| | | | | exactly four or \U followed by exactly eight hex digits in a comment or string is read as a Unicode character with that code point.
* lread.c (Vload_history): Enhance doc-string to say that the file is theAlan Mackenzie2006-05-241-22/+48
| | | | | | | | | | | | | | | | absolute truename of the loaded file. lread.c (Vafter_load_alist): doc-string: state that an element now has a regexp to match file names, not a file name as such. lread.c (readevalloop): Call file-truename on the name for load-history, except at preloading time. lread.c (Fload): At preloading time, preserve the extension of the filename which goes into load-history. New variable hist_file_name. lread.c (Fload): Do eval-after-load stuff by calling the lisp function do-after-load-evaluation.
* (readevalloop): Abort if START non-nil for non-buffer input.Richard M. Stallman2006-05-121-1/+7
|
* Declare Vload_file_rep_suffixes instead ofLuc Teirlinck2006-02-271-18/+69
| | | | | | | | | | | 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'.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (openp): Initialized encoded_fn before GCPRO it.Kenichi Handa2006-02-061-1/+1
|
* (Fload): Don't leak the file descriptor returned by openp if we are goingEli Zaretskii2006-01-201-2/+6
| | | | to signal an error.
* (readevalloop): Test for reading a whole bufferRichard M. Stallman2005-12-301-4/+29
| | | | | | 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.
* (readevalloop): Set PT and ZV in the proper buffer, not the current one.Richard M. Stallman2005-12-281-0/+10
|
* (read_escape) <\s>: Don't treat strings specially.Richard M. Stallman2005-12-081-6/+5
|
* (readevalloop): Add missing GCPROs.Stefan Monnier2005-11-161-3/+3
|
* (readevalloop): Yet another int/Lisp_Object mixup (YAILOM).Stefan Monnier2005-11-011-1/+2
|
* (build_load_history): Replace STREAM arg with ENTIRE.Richard M. Stallman2005-10-231-18/+21
| | | | | (readevalloop): Compute ENTIRE properly. (syms_of_lread) <load-history>: Doc fix.
* (Fload): Simplify gcpro structure.Richard M. Stallman2005-10-211-14/+23
| | | | | | | 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.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+3
|
* (load_unwind): Rework last change.Kim F. Storm2005-07-201-5/+5
|
* (Fload, load_unwind): Use make_save_value to unwindKim F. Storm2005-07-201-7/+4
| | | | protect stream.
* (syms_of_lread): Initialize seen_list.Kim F. Storm2005-07-141-0/+1
|
* (Qeval_buffer_list, Veval_buffer_list): New vars.Richard M. Stallman2005-07-101-0/+10
| | | | | (syms_of_lread): Set up eval-buffer-list. (Feval_buffer, Feval_region): Bind eval-buffer-list.
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (read1): 0.0e+NaN should make a "positive" NaN.Richard M. Stallman2005-06-251-0/+17
|
* (read_vector): Follow error conventions.Juanma Barranquero2005-06-231-2/+2
|
* (Flocate_file_internal): Doc fix.Eli Zaretskii2005-05-061-0/+1
|
* (Vloads_in_progress): Static.Lute Kamstra2005-04-181-3/+3
|
* (Vloads_in_progress): Not static.Richard M. Stallman2005-04-101-1/+1
|
* (readevalloop): Add args START and END as region inKim F. Storm2005-04-081-17/+35
| | | | | | | | | | 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.