1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

31 commits

Author SHA1 Message Date
Jim Blandy
c6c5df7f76 Updated copyright years. 1993-05-22 21:34:42 +00:00
Jim Blandy
93b9120871 * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
to get the extern declarations for atof.  That's where it is in
	POSIX.
1993-05-14 14:42:01 +00:00
Jim Blandy
e3fa7dfc18 * data.c (Ffset): Refuse to set the function value of t or nil. 1993-05-04 02:26:53 +00:00
Richard M. Stallman
d9bcdb34a0 (Fdefine_function): New function (same code as Fdefalias). 1993-04-29 13:12:37 +00:00
Eric S. Raymond
80df38a283 (Fdefine_function): Changed name back to Fdefalias, so we get things
in a known-good state.
1993-04-23 03:40:03 +00:00
Richard M. Stallman
fc08c36736 (Fdefine_function): New function. 1993-04-17 01:29:48 +00:00
Jim Blandy
51cf3e317c long_to_cons and cons_to_long are generally useful things; they're
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.
1993-04-10 08:05:07 +00:00
Jim Blandy
f298026408 Rename int-to-string to number-to-string, since it can handle
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.
1993-03-30 21:21:49 +00:00
Richard M. Stallman
6315e7617b (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
Qarith_error, Qrange_error, Qdomain_error,
Qsingularity_error, Qoverflow_error, Qunderflow_error.
1993-03-10 05:14:04 +00:00
Jim Blandy
0a3e4d653c * data.c (Fstring_to_number): Declare p to be an unsigned char, to
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>.
1993-03-02 08:11:01 +00:00
Jim Blandy
25e40a4bb9 * data.c (Fstring_to_number): Skip initial spaces, to make Emacs
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.
1993-02-22 14:27:14 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Jim Blandy
a293299024 src/ * data.c (indirect_function): Delete unused argument ERROR. 1992-12-06 22:13:53 +00:00
Jim Blandy
b06faa915c * data.c (Fset): See if current_alist_element points to itself
using EQ, not ==.
	(float_arith_driver): Declare this extern above arith_driver.
1992-10-31 05:17:14 +00:00
Joseph Arceneaux
07bd847225 Qbuffer_or_string_p added. 1992-10-01 01:58:57 +00:00
Jim Blandy
a5ca2b7540 * data.c (Fmake_local_variable): If SYM forwards to a C variable,
swap in the value for the current buffer immediately.
1992-09-30 11:35:45 +00:00
Jim Blandy
533984a8ec * data.c (swap_in_symval_forwarding): Formatting tweaked. 1992-09-29 15:06:46 +00:00
Jim Blandy
a080486e57 * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
HP/UX, not just under USG systems.
1992-09-29 04:54:28 +00:00
Jim Blandy
bc540f9f00 * data.c [USG] (Frem): Call fmod, rather than drem. Rah.
* 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.
1992-08-19 06:19:22 +00:00
Jim Blandy
d8cafeb502 entered into RCS 1992-06-30 13:55:35 +00:00
Richard M. Stallman
464f88989f *** empty log message *** 1992-06-07 02:36:01 +00:00
Jim Blandy
ffd56f97cf *** empty log message *** 1992-05-18 08:14:41 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
32676c085c *** empty log message *** 1992-05-01 06:20:46 +00:00
Jim Blandy
f58b36863a *** empty log message *** 1992-03-20 17:00:55 +00:00
Jim Blandy
a44804c254 *** empty log message *** 1992-02-19 15:03:50 +00:00
Jim Blandy
14e76af946 *** empty log message *** 1992-01-28 01:53:11 +00:00
Jim Blandy
a33ef3ab6d *** empty log message *** 1992-01-14 07:14:12 +00:00
Jim Blandy
fb8e984708 *** empty log message *** 1991-07-24 00:06:21 +00:00
Jim Blandy
29eab336da *** empty log message *** 1991-07-18 11:05:46 +00:00
Jim Blandy
7921925c23 Initial revision 1991-06-26 15:44:32 +00:00