1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00
Commit graph

240 commits

Author SHA1 Message Date
Juanma Barranquero
6e86a75de6 (Fset_default): Make argument names match their use in docstring. 2004-05-16 00:55:09 +00:00
Juanma Barranquero
7ef9805349 (Fquo): Simplify. 2004-05-09 00:49:06 +00:00
Juanma Barranquero
28712a2124 (Fquo): If any argument is float, do the computation in floating point. 2004-05-08 15:00:20 +00:00
Juanma Barranquero
948d29955e (Fsetq_default): Fix docstring. 2004-05-06 00:10:15 +00:00
Stefan Monnier
0fddae66f4 (Fsubr_name): New fun.
(syms_of_data): Defsubr it.
2004-04-29 18:21:48 +00:00
Andreas Schwab
b9ed217755 (Faref, Faset): Use BOOL_VECTOR_BITS_PER_CHAR instead of
BITS_PER_CHAR for bool vectors.
2004-04-26 21:43:33 +00:00
Jan Djärv
7a8560d7d7 data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. 2004-03-31 12:42:43 +00:00
Stefan Monnier
f52a3ca37e (Finteractive_form): Rename from Fsubr_interactive_form.
Extend to handle all kinds of functions.
2004-03-29 00:48:32 +00:00
Stefan Monnier
d2f1499943 Lisp_Object/int mixup. 2004-02-16 04:53:28 +00:00
Jan Djärv
d4be0d3140 * data.c (Fbyteorder): New function. 2004-02-10 17:18:34 +00:00
Richard M. Stallman
7abd90ea98 (store_symval_forwarding): Handle setting default-fill-column, etc.,
by changing buffers that use the default.
2003-12-29 11:29:18 +00:00
Lars Hansen
aae13d3664 (Qinteger): Exported. 2003-11-21 18:26:21 +00:00
Luc Teirlinck
29802b85f2 (Fsetplist): Doc fix. 2003-10-26 18:48:19 +00:00
Richard M. Stallman
0a2546d42d (Fvariable_binding_locus): New function.
(syms_of_data): defsubr it.
(Flocal_variable_p): Delete duplicate call to indirect_variable.
2003-09-19 14:34:30 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
14970b4546 (Fmake_variable_buffer_local, Fmake_local_variable)
(Fkill_local_variable, Fmake_variable_frame_local)
(Flocal_variable_p, Flocal_variable_if_set_p):
Use indirect_variable to trace thru variable aliases.
2003-08-29 16:17:01 +00:00
Richard M. Stallman
924261558d (let_shadows_buffer_binding_p): Make target of p volatile. 2003-05-17 12:42:31 +00:00
Miles Bader
c6464167c6 (Faset): Calculate nbytes earlier, to satisfy the now pickier
PARSE_MULTIBYTE_SEQ.
2003-04-18 01:23:43 +00:00
Stefan Monnier
d9b36d1919 (store_symval_forwarding): Re-instate part of the code
that was deleted with too much enthusiasm.
2003-03-26 15:23:36 +00:00
Stefan Monnier
999e64847e (store_symval_forwarding): Delete special read-only
hack for type == -1, since we now use ->constant instead.
(Fkill_local_variable): Don't use XBUFFER if it can be nil.
2003-03-25 16:30:15 +00:00
Andreas Schwab
9bc7166b12 (long_to_cons): Fix type of top. 2003-03-12 23:46:41 +00:00
Francesco Potortì
558ee9005a (Fstring_to_number, Fminus): Better English in doc strings. 2002-12-29 19:13:55 +00:00
Francesco Potortì
bfb96cb7fa (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)
(Fsetq_default, Fmake_local_variable, Fkill_local_variable)
(Fmake_variable_frame_local, Faset, Fnumber_to_string)
(Fstring_to_number, Fminus): Mention the returned value in the doc
strings.
2002-12-25 23:27:27 +00:00
Richard M. Stallman
894f65383f (Fdefalias): Record in load-history redefining an autoload. 2002-12-07 21:38:39 +00:00
Juanma Barranquero
3a9b12977d (Flsh): Fix spacing. 2002-09-06 09:03:04 +00:00
Richard M. Stallman
76b3cecfd0 (Fmake_variable_frame_local): Doc fix. 2002-08-07 14:30:52 +00:00
Richard M. Stallman
9614322710 (Fdefalias): Doc fix. 2002-07-18 15:04:29 +00:00
Ken Raeburn
29f44a3766 * data.c (Faref): Use SDATA.
(Faset): Use SDATA, SSET.
2002-07-16 15:49:07 +00:00
Ken Raeburn
d5db40779d Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Stefan Monnier
d2fde41d7d (Fdefalias): Add an optional `docstring' argument.
(set_internal, Fsetq_default): Use XCAR/XCDR.
2002-07-09 23:12:30 +00:00
Ken Raeburn
84023177dc * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding)
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead
of XSYMBOL and name field.
2002-05-20 08:05:21 +00:00
Pavel Janík
a4bb6871d3 (wrong_type_argument): Remove mocklisp case. 2001-12-22 13:58:42 +00:00
Andreas Schwab
9d113d9d58 (Vmost_positive_fixnum, Vmost_negative_fixnum): Renamed
from most_positive_fixnum and most_negative_fixnum, resp., and
type changed to Lisp_Object.
(syms_of_data): DEFVAR_LISP them.
2001-12-07 12:15:35 +00:00
Pavel Janík
be24eadf24 (Ftimes): Doc fix.
(Fquo): Likewise.
(Frem): Likewise.
(Fmod): Likewise.
2001-11-16 18:19:58 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Pavel Janík
f9d1e467d2 (Fsetq_default): Add usage to doc-string. 2001-11-02 07:01:47 +00:00
Richard M. Stallman
515f3f2541 (Fmake_local_variable): Doc fix. 2001-11-01 20:48:10 +00:00
Pavel Janík
8c1a1077c0 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:13:46 +00:00
Miles Bader
f44fba9ec2 (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior, Flogxor):
Add usage: string to doc string.
2001-10-21 10:00:33 +00:00
Ken Raeburn
f3fbd15535 Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
2001-10-16 09:09:51 +00:00
Gerd Moellmann
cb938d4660 (Fstring_to_number): Use make_fixnum_or_float. 2001-10-11 15:39:47 +00:00
Gerd Moellmann
13d95cc02b (Qcircular_list): New variable.
(circular_list_error): New function.
(syms_of_data): Initialize it Qcircular_list.
2001-10-11 09:04:09 +00:00
Gerd Moellmann
e6190b111d (most_positive_fixnum, most_negative_fixnum): New
variables.
(syms_of_data): DEFVAR_INT most-positive-fixnum and
most-negative-fixnum.
2001-10-06 23:25:26 +00:00
Gerd Moellmann
f35d5badef Use SYMBOL_VALUE/SET_SYMBOL_VALUE.
(Qcyclic_variable_indirection): New variable.
(Fkeywordp): Check for internedness differently.
(Fmakunbound): Simplify the test if symbol is a constant.
(indirect_variable, Findirect_variable): New functions.
(swap_in_symval_forwarding): If SYMBOL is an alias, use the
aliased symbol.
(let_shadows_buffer_binding_p): Check for variable aliases.
(set_internal): Simplify the test if SYMBOL is a constant.  If
SYMBOL has a buffer-local value and is an alias, use the aliased
symbol instead.
(syms_of_data): Initialze Qcyclic_variable_indirection and defsubr
Sindirect_variable.
2001-10-05 09:44:50 +00:00
Gerd Moellmann
cc515226ef (Fsubr_interactive_form): New function.
(syms_of_data): Defsubr it.
2001-03-29 13:58:30 +00:00
Gerd Moellmann
7a283f3621 (store_symval_forwarding): Add parameter BUF. If BUF is
non-null, set a per-buffer value in BUF instead of the current
buffer.
(swap_in_global_binding, swap_in_symval_forwarding, Fset_default):
Call store_symval_forwarding with BUF null.
(set_internal): Call store_symval_forwarding with the BUF
parameter passed to set_internal.  Formerly, the value was always
set in the current buffer; the buffer recorded in specbind for
this case wasn't used.
(arith_driver): Reindent.
2001-03-15 09:44:10 +00:00
Eli Zaretskii
2a359158cb (find_symbol_value): Remove extra 3rd argument in the
call to swap_in_symval_forwarding.
2001-01-02 14:03:28 +00:00
Gerd Moellmann
6bbd7a2959 Avoid some more compiler warnings. 2000-09-21 20:54:57 +00:00
Kenichi Handa
3c9de1afcd (Faset): Allow storing any multibyte character in a string. Convert
unibyte string to multibyte if necessary.
2000-07-21 06:45:30 +00:00
Gerd Moellmann
4c47c97362 (set_internal): If variable is frame-local,
store the new value immediately into the frame parameter alist.
2000-06-19 12:12:35 +00:00