aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (do_symval_forwarding, store_symval_forwarding, find_symbol_value, Fset,Karl Heuer1994-10-121-57/+64
| | | | | default_value, Fset_default, Fkill_local_variable): Use the new substructure. (store_symval_forwarding): Change args to buffer_slot_type_mismatch.
* (Fboundp, Ffboundp, find_symbol_value, Fset, Fdefault_boundp, Fdefault_value):Karl Heuer1994-10-061-13/+6
| | | | Don't check for Lisp_Void; nothing ever creates that type.
* (Flsh, Fadd1, Fsub1, Flognot): Don't use XFASTINT when negative.Karl Heuer1994-10-061-5/+5
|
* (Fset, default_value, Fset_default, Fkill_local_variable): AccessKarl Heuer1994-10-061-4/+7
| | | | buffer_local_flags as Lisp_Object, not int.
* (Faref, Farray_length): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-2/+2
|
* (make_number, Fsymbol_name, do_symval_forwarding, swap_in_symval_forwarding,Karl Heuer1994-10-041-14/+13
| | | | | find_symbol_value, Fset, arith_driver, Frem, Fmod, Fash, Flsh): Use new accessor macros instead of calling XSET directly.
* (Fmake_local_variable): Doc fix.Richard M. Stallman1994-09-301-2/+23
| | | | | (Flocal_variable_p): New function. (syms_of_data): defsubr it.
* (wrong_type_argument, Fconsp, Fatom, Flistp, Fnlistp, Fsymbolp, Fvectorp,Karl Heuer1994-09-271-82/+74
| | | | | | | | | | | | Fstringp, Farrayp, Fsequencep, Fbufferp, Fmarkerp, Fsubrp, Fbyte_code_function_p, Fchar_or_string_p, Fintegerp, Finteger_or_marker_p, Fnatnump, Fnumber_or_marker_p, Ffloatp, Fcar, Fcar_safe, Fcdr, Fcdr_safe, Fsetcar, Fsetcdr, Fboundp, Ffboundp, store_symval_forwarding, Fset, default_value, Fdefault_boundp, Fdefault_value, Fset_default, Fmake_variable_buffer_local, Fmake_local_variable, Fkill_local_variable, indirect_function, Faref, Faset, Farray_length, arithcompare, Fzerop, Fnumber_to_string, arith_driver, float_arith_driver, Fmod, Fadd1, Fsub1): Use type test macros.
* (Fset_default, Fset): Delete RTPC_REGISTER_BUG conditionals.Richard M. Stallman1994-09-241-9/+0
|
* (sign_extend_lisp_int): Use EMACS_INT.Richard M. Stallman1994-09-171-4/+4
|
* (Fcdr_safe): Delete extraneous blank in docstring.Karl Heuer1994-09-161-1/+1
|
* (Fdefine_function, Fdefalias): Handle advice as in Ffset.Richard M. Stallman1994-08-041-7/+19
| | | | | (Qad_advice_info): Lisp and C names renamed from Qadvice_info. (Qad_activate): C name renamed from Qactivate_advice.
* (Ffset): Don't call Fget unless SYM's plist is consp.Roland McGrath1994-08-011-1/+1
|
* (syms_of_data): Set up Qadvice_info, Qactivate_advice.Richard M. Stallman1994-07-311-0/+13
| | | | (Ffset): Activate advice if symbol has advice-info property.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (Ffset, Ffmakunbound): Signal an error if SYM is nil or t.Karl Heuer1994-04-291-1/+4
|
* [MSDOS]: Re-enable some #undef's.Karl Heuer1994-04-291-4/+1
|
* (Fsetq_default): Doc fix.Richard M. Stallman1994-04-161-4/+11
|
* (Fsetq_default, Fmake_local_variable): Doc syntax fix.Richard M. Stallman1994-04-121-3/+3
|
* (store_symval_forwarding, Fsymbol_value): Use assignment, not initialization.Karl Heuer1994-03-231-3/+4
|
* (Qwholenump): New variable.Richard M. Stallman1994-03-221-1/+5
| | | | (syms_of_data): Set and gcpro Qwholenump.
* (Fstring_to_number): Doc fix.Richard M. Stallman1994-03-211-1/+2
|
* (Fmake_local_variable): Void variables stay void.Karl Heuer1994-03-211-2/+2
|
* (Fchar_or_string_p, Fintegerp, Fnatnump): Doc fix.Karl Heuer1994-03-161-3/+5
|
* (isnan): New macro.Karl Heuer1994-03-041-2/+6
| | | | (float_arith_driver): min and max yield NaN if any argument is a NaN.
* (fmod): Implement it on systems where it's missing, using drem if available.Karl Heuer1994-02-041-4/+13
|
* (Fmod): Use HAVE_FMOD.Karl Heuer1994-02-011-1/+1
|
* (Faset): Doc fix.Richard M. Stallman1994-01-221-2/+2
|
* (Frem) [MSDOS]: use `fmod', not `drem'. Put in config.h?Richard M. Stallman1994-01-081-1/+11
|
* [hpux 7] (_MAXLDBL, _NMAXLDBL): New macro definitions.Richard M. Stallman1993-10-201-0/+12
|
* Add declaration for atof if not predefined.Brian Fox1993-09-221-0/+4
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (Fmod): New function; result is always same sign as divisor.Paul Eggert1993-08-101-0/+55
|
* (Frem): Don't accept floats, just ints and markers.Richard M. Stallman1993-08-041-26/+1
|
* (syms_of_data): Staticpro Qmark_inactive.Roland McGrath1993-07-081-0/+1
|
* Define Qmark_inactive.Roland McGrath1993-07-081-1/+2
| | | | (syms_of_data): Initialize it.
* (cons_to_long): Declare top, bot as Lisp_Object.Richard M. Stallman1993-06-121-1/+1
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-4/+4
|
* (Ffset): Delete special check for t and nil.Richard M. Stallman1993-06-061-2/+0
|
* (Frem): Fix result sign properly.Richard M. Stallman1993-06-011-1/+2
|
* (float_arith_driver): Detect division by zero in advance.Richard M. Stallman1993-05-311-4/+18
| | | | (arith_driver, Frem): Likewise.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>Jim Blandy1993-05-141-0/+3
| | | | | to get the extern declarations for atof. That's where it is in POSIX.
* * data.c (Ffset): Refuse to set the function value of t or nil.Jim Blandy1993-05-041-0/+3
|
* (Fdefine_function): New function (same code as Fdefalias).Richard M. Stallman1993-04-291-0/+18
|
* (Fdefine_function): Changed name back to Fdefalias, so we get thingsEric S. Raymond1993-04-231-2/+2
| | | | in a known-good state.
* (Fdefine_function): New function.Richard M. Stallman1993-04-171-0/+16
|
* long_to_cons and cons_to_long are generally useful things; they'reJim Blandy1993-04-101-0/+29
| | | | | | | needed whether or not X is defined. * xselect.c (long_to_cons, cons_to_long): Moved from here... * data.c (long_to_cons, cons_to_long): ... to here. * lisp.h (long_to_cons, cons_to_long): Add extern declaration.
* Rename int-to-string to number-to-string, since it can handleJim Blandy1993-03-301-3/+3
| | | | | | | | | | | | floating-point as well as integer arguments. subr.el defines the former as an alias for the latter. * data.c (Fnumber_to_string): Renamed from Fint_to_string. (wrong_type_argument): Adjust caller. (syms_of_data): Adjust defsubr. * fns.c (concat): Adjust caller. * lisp.h (Fnumber_to_string): Adjust extern declaration. * mocklisp.c (Finsert_string): Adjust caller. * process.c (status_message): Adjust caller.
* (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:Richard M. Stallman1993-03-101-16/+63
| | | | | Qarith_error, Qrange_error, Qdomain_error, Qsingularity_error, Qoverflow_error, Qunderflow_error.