1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

96 commits

Author SHA1 Message Date
Karl Heuer
34f4f6c6d7 Comment change. 1995-05-31 19:57:27 +00:00
Karl Heuer
b42cfa1194 (long_to_cons): Don't assume 32-bit longs. 1995-05-23 00:13:19 +00:00
Richard M. Stallman
e856a264dd (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0. 1995-05-07 09:02:39 +00:00
Richard M. Stallman
e6c82a8d35 (Fnumber_to_string, Fstring_to_number):
Handle long EMACS_INT in sprintf and atol.

(store_symval_forwarding): Error if value out of range for an integer variable.
(Fstring_to_number): Avoid using make_number to return value.  Maybe use atol.
1995-05-05 02:59:15 +00:00
Richard M. Stallman
5260234d43 (arith_driver): Make accum and next EMACS_INTs.
(Fmod): i1 and i2 are EMACS_INT.
1995-05-04 21:37:43 +00:00
Richard M. Stallman
077d751f14 Include keyboard.h. 1995-04-10 05:33:58 +00:00
Richard M. Stallman
324a6eef85 (Ftype_of, do_symval_forwarding, store_symval_forwarding)
(find_symbol_value, Fmake_variable_buffer_local, Fmake_local_variable):
Use XMISCTYPE.
1995-04-07 05:17:56 +00:00
Simon Marshall
e1960a184a Doc fixes to match declared args. 1995-04-06 12:18:08 +00:00
Richard M. Stallman
04f7ec6929 (Fmod): Fix the final adjustment, when i2 < 0 and i1 == 0. 1995-03-30 23:34:59 +00:00
Karl Heuer
e5f8af9e15 (find_symbol_value): current_perdisplay now is never null.
(store_symval_forwarding, do_symval_forwarding): Likewise.
1995-03-15 01:57:50 +00:00
Richard M. Stallman
3b9f7964e9 (Fash): Fix previous change. 1995-03-14 18:38:28 +00:00
Richard M. Stallman
3d9652eb15 (Fash, Flsh): Change arg names. 1995-03-11 00:50:20 +00:00
Richard M. Stallman
39bcc759ed Rename arg OBJ to OBJECT in all type predicates.
(Ftype_of): New function.
1995-02-13 05:28:47 +00:00
Karl Heuer
31c45e79a1 (do_symval_forwarding): Use current_perdisplay, not get_perdisplay.
(store_symval_forwarding, find_symbol_value): Likewise.
1995-02-03 21:04:33 +00:00
Karl Heuer
7403b5c85e (do_symval_forwarding): Handle display-local vars.
(store_symval_forwarding, find_symbol_value): Likewise.
(Fmake_variable_buffer_local): Disallow display-local vars here.
(Fmake_local_variable): Likewise.
1995-01-31 00:52:50 +00:00
Karl Heuer
0220c51857 Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. 1995-01-18 20:52:48 +00:00
Richard M. Stallman
7f358972bc (Faref): Handle compiled function as pseudovector. 1994-12-30 01:50:01 +00:00
Richard M. Stallman
04be39934f (wrong_type_argument): Use Lisp_Type_Limit. 1994-12-25 17:49:39 +00:00
Richard M. Stallman
e1351ff7c3 (wrong_type_argument): Abort if VALUE is invalid Lisp object. 1994-12-25 17:28:51 +00:00
Karl Heuer
c24e4efeb5 (Farray_length): Delete this obsolete function.
(Faref, Faset): If object is a string, use XSTRING, not XVECTOR.
1994-11-16 03:41:56 +00:00
Karl Heuer
c80bd143cf (syms_of_data): Set Qwholenump as function, not variable.
(Fnatnump): Use NATNUMP macro.
1994-11-16 00:42:11 +00:00
Karl Heuer
8d4afcac1e (store_symval_forwarding, swap_in_symval_forwarding, Fset, default_value,
Fset_default, Fkill_local_variable): Use XBUFFER_LOCAL_VALUE, not XCONS.
(Fmake_variable_buffer_local, Fmake_local_variable): Use the new substructure.
1994-11-11 07:35:27 +00:00
Karl Heuer
aabf6bec48 Fix typo in previous change. 1994-11-11 01:31:52 +00:00
Karl Heuer
536b772adc (Fboundp, find_symbol_value): Use type test macros instead of checking XTYPE
directly.
1994-11-09 23:13:31 +00:00
Karl Heuer
46b2ac21f0 (do_symval_forwarding, store_symval_forwarding, find_symbol_value, Fset,
default_value, Fset_default, Fkill_local_variable): Use the new substructure.
(store_symval_forwarding): Change args to buffer_slot_type_mismatch.
1994-10-12 05:15:21 +00:00
Karl Heuer
1bfcade382 (Fboundp, Ffboundp, find_symbol_value, Fset, Fdefault_boundp, Fdefault_value):
Don't check for Lisp_Void; nothing ever creates that type.
1994-10-06 23:07:57 +00:00
Karl Heuer
702672da3c (Flsh, Fadd1, Fsub1, Flognot): Don't use XFASTINT when negative. 1994-10-06 22:39:18 +00:00
Karl Heuer
865c050f41 (Fset, default_value, Fset_default, Fkill_local_variable): Access
buffer_local_flags as Lisp_Object, not int.
1994-10-06 22:32:11 +00:00
Karl Heuer
1b42cf2e61 (Faref, Farray_length): Don't use XFASTINT as an lvalue. 1994-10-04 15:44:37 +00:00
Karl Heuer
f187f1f776 (make_number, Fsymbol_name, do_symval_forwarding, swap_in_symval_forwarding,
find_symbol_value, Fset, arith_driver, Frem, Fmod, Fash, Flsh): Use new
accessor macros instead of calling XSET directly.
1994-10-04 12:01:46 +00:00
Richard M. Stallman
62476adc55 (Fmake_local_variable): Doc fix.
(Flocal_variable_p): New function.
(syms_of_data): defsubr it.
1994-09-30 20:32:45 +00:00
Karl Heuer
e9ebc175bf (wrong_type_argument, Fconsp, Fatom, Flistp, Fnlistp, Fsymbolp, Fvectorp,
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.
1994-09-27 04:00:45 +00:00
Richard M. Stallman
5c3416a57f (Fset_default, Fset): Delete RTPC_REGISTER_BUG conditionals. 1994-09-24 00:17:57 +00:00
Richard M. Stallman
a0ed95ea0a (sign_extend_lisp_int): Use EMACS_INT. 1994-09-17 00:27:54 +00:00
Karl Heuer
b7abc8faa6 (Fcdr_safe): Delete extraneous blank in docstring. 1994-09-16 22:02:54 +00:00
Richard M. Stallman
ab29781122 (Fdefine_function, Fdefalias): Handle advice as in Ffset.
(Qad_advice_info): Lisp and C names renamed from Qadvice_info.
(Qad_activate): C name renamed from Qactivate_advice.
1994-08-04 22:57:13 +00:00
Roland McGrath
5e84269afe (Ffset): Don't call Fget unless SYM's plist is consp. 1994-08-01 22:28:26 +00:00
Richard M. Stallman
f845f2c9a5 (syms_of_data): Set up Qadvice_info, Qactivate_advice.
(Ffset): Activate advice if symbol has advice-info property.
1994-07-31 20:57:45 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Karl Heuer
c15c5d408d (Ffset, Ffmakunbound): Signal an error if SYM is nil or t. 1994-04-29 23:21:37 +00:00
Karl Heuer
6ba93f9d7b [MSDOS]: Re-enable some #undef's. 1994-04-29 23:16:43 +00:00
Richard M. Stallman
0412bf67d1 (Fsetq_default): Doc fix. 1994-04-16 05:15:17 +00:00
Richard M. Stallman
a782f0d57f (Fsetq_default, Fmake_local_variable): Doc syntax fix. 1994-04-12 06:06:21 +00:00
Karl Heuer
0671d7c002 (store_symval_forwarding, Fsymbol_value): Use assignment, not initialization. 1994-03-23 22:27:40 +00:00
Richard M. Stallman
8e86942bee (Qwholenump): New variable.
(syms_of_data): Set and gcpro Qwholenump.
1994-03-22 00:14:47 +00:00
Richard M. Stallman
1c1c17ebad (Fstring_to_number): Doc fix. 1994-03-21 06:56:46 +00:00
Karl Heuer
9aab521af6 (Fmake_local_variable): Void variables stay void. 1994-03-21 01:39:07 +00:00
Karl Heuer
0321d75c24 (Fchar_or_string_p, Fintegerp, Fnatnump): Doc fix. 1994-03-16 23:21:02 +00:00
Karl Heuer
1a2f2d332e (isnan): New macro.
(float_arith_driver): min and max yield NaN if any argument is a NaN.
1994-03-04 21:21:08 +00:00
Karl Heuer
1d66a5fabb (fmod): Implement it on systems where it's missing, using drem if available. 1994-02-04 20:18:59 +00:00