aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* * data.c (Fstring_to_number): Declare p to be an unsigned char, toJim Blandy1993-03-021-3/+2
| | | | | | | | match the data field of strings. * data.c (Fstring_to_number): Just skip tabs and spaces; don't use the <ctype.h> macros. The <ctype.h> stuff apparently varies from locale to locale more than we'd like. Don't include <ctype.h>.
* * data.c (Fstring_to_number): Skip initial spaces, to make EmacsJim Blandy1993-02-221-9/+24
| | | | | | | | | | | | | | | | | | lisp parse consistently on different operating systems. #include <ctype.h> to help with this. * data.c (Fstring_to_int): Rename this to Fstring_to_number, since it parses floats as well as integers. Fix docstring. (syms_of_data): Fix defsubr. (wrong_type_argument): Change use. (Fint_to_string): Doc fix. * lisp.h (Fstring_to_int): Change extern declaration. * data.c (wrong_type_argument): Pass the correct number of arguments to Fstring_to_int. * data.c (arithcompare): Add a default case which aborts, just to make me happy.
* JimB's changes since January 18thJim Blandy1993-01-261-13/+7
|
* src/ * data.c (indirect_function): Delete unused argument ERROR.Jim Blandy1992-12-061-1/+1
|
* * data.c (Fset): See if current_alist_element points to itselfJim Blandy1992-10-311-1/+4
| | | | | using EQ, not ==. (float_arith_driver): Declare this extern above arith_driver.
* Qbuffer_or_string_p added.Joseph Arceneaux1992-10-011-0/+3
|
* * data.c (Fmake_local_variable): If SYM forwards to a C variable,Jim Blandy1992-09-301-1/+13
| | | | swap in the value for the current buffer immediately.
* * data.c (swap_in_symval_forwarding): Formatting tweaked.Jim Blandy1992-09-291-8/+11
|
* * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, andJim Blandy1992-09-291-1/+1
| | | | HP/UX, not just under USG systems.
* * data.c [USG] (Frem): Call fmod, rather than drem. Rah.Jim Blandy1992-08-191-2/+17
| | | | | | * data.c (store_symval_forwarding): When storing through a Lisp_Buffer_Objfwd, check if the slot requires a particular type, and report an error if the types clash.
* entered into RCSJim Blandy1992-06-301-34/+77
|