1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

219 commits

Author SHA1 Message Date
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
Gerd Moellmann
a6981b1188 (set_internal): Remove debug code. 2000-06-15 10:29:27 +00:00
Gerd Moellmann
b0d53addf7 (swap_in_global_binding): New function. 2000-06-13 13:21:59 +00:00
Dave Love
6f0e897ff6 (Qsubrp, Qmany, Qunevalled): New variables.
(Fsubr_arity): New function.
(syms_of_data): Install them.
2000-05-26 10:21:30 +00:00
Kenichi Handa
37309c9d3d (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
(Faset): Likewise.
2000-05-19 23:58:37 +00:00
Ken Raeburn
8801a864d2 * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.

* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.
2000-03-30 09:56:31 +00:00
Gerd Moellmann
f6cd05276d Use new macro names
for handling per-buffer variables.
2000-03-27 12:50:13 +00:00
Gerd Moellmann
999b32fd11 (do_symval_forwarding, store_symval_forwarding)
(find_symbol_value, set_internal, default_value, Fset_default)
(Fkill_local_variable, Flocal_variable_p): Use new macros for
per-buffer variables.
2000-03-26 14:05:44 +00:00
Gerd Moellmann
342858a566 (Fstring_to_number): If number is greater than what
fits into an integer, return a float.
2000-02-23 12:50:35 +00:00
Gerd Moellmann
f50d847af5 (keyword_symbols_constant_flag): Removed.
(Fmakunbound, set_internal, syms_of_data): Remove references to
keyword_symbols_constant_flag.
2000-02-23 10:43:40 +00:00
Richard M. Stallman
42e975f059 (Fmake_variable_buffer_local): Doc fix.
Init found_for_buffer to 0.
(Fmake_variable_frame_local): If the variable has already
been buffer-local, set the check_frame field.
2000-02-20 14:27:12 +00:00
Gerd Moellmann
f0930f35f1 (let_shadows_buffer_binding_p): Ignore specbindings
for symbols other than the symbol in question.
2000-02-18 13:30:59 +00:00
Gerd Moellmann
cc94f3b24e Remove LISP_FLOAT_TYPE' and standalone'. 2000-02-17 09:45:46 +00:00
Richard M. Stallman
1f35ce36c2 (set_internal): Don't make variable buffer-local
if within a let-binding for the same buffer.
(let_shadows_buffer_binding_p): New function.
2000-02-15 09:57:33 +00:00
Richard M. Stallman
1aa7a2c7dc (set_internal): Further fix in same criterion. 2000-01-22 02:57:37 +00:00
Richard M. Stallman
8cc956425f (set_internal): Fix the criteria for whether
to swap out the old cached binding.
2000-01-20 06:02:13 +00:00
Richard M. Stallman
2829d05f57 (set_internal): New arg BUF.
(Fset): Pass new arg to set_internal.
2000-01-11 22:18:09 +00:00
Dave Love
cda9b832d4 (Fkeywordp): New function.
(syms_of_data): Install it.
1999-12-17 15:00:56 +00:00
Kenichi Handa
e19c1eb40e (Faref): Delete codes for a composite character..
(Faset): Likewise.  Adjusted for the change of CHAR_STRING.
1999-12-15 00:08:39 +00:00
Gerd Moellmann
8f9f49d733 (Qtext_read_only): New built-in error.
(syms_of_data): Initialize it.
1999-11-01 14:14:04 +00:00
Gerd Moellmann
c1307a2360 (Qad_activate_internal): Renamed from Qad_activate.
(Ffset): Call Qad_activate_internal.
(syms_of_data): Initialize Qad_activate_internal.
1999-10-26 23:25:22 +00:00
Gerd Moellmann
81dc5de57a (Qhash_table): New.
(Ftype_of): Return it for hash tables.
(syms_of_data): Initialize Qhash_table.
1999-10-25 20:51:13 +00:00