aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Lisp_Object/int mixup.Stefan Monnier2004-02-161-1/+1
|
* * data.c (Fbyteorder): New function.Jan Djärv2004-02-101-0/+15
|
* (store_symval_forwarding): Handle setting default-fill-column, etc.,Richard M. Stallman2003-12-291-0/+32
| | | | by changing buffers that use the default.
* (Qinteger): Exported.Lars Hansen2003-11-211-1/+3
|
* (Fsetplist): Doc fix.Luc Teirlinck2003-10-261-1/+1
|
* (Fvariable_binding_locus): New function.Richard M. Stallman2003-09-191-1/+36
| | | | | (syms_of_data): defsubr it. (Flocal_variable_p): Delete duplicate call to indirect_variable.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (Fmake_variable_buffer_local, Fmake_local_variable)Richard M. Stallman2003-08-291-0/+6
| | | | | | (Fkill_local_variable, Fmake_variable_frame_local) (Flocal_variable_p, Flocal_variable_if_set_p): Use indirect_variable to trace thru variable aliases.
* (let_shadows_buffer_binding_p): Make target of p volatile.Richard M. Stallman2003-05-171-1/+1
|
* (Faset): Calculate nbytes earlier, to satisfy the now pickierMiles Bader2003-04-181-2/+3
| | | | PARSE_MULTIBYTE_SEQ.
* (store_symval_forwarding): Re-instate part of the codeStefan Monnier2003-03-261-0/+1
| | | | that was deleted with too much enthusiasm.
* (store_symval_forwarding): Delete special read-onlyStefan Monnier2003-03-251-6/+3
| | | | | hack for type == -1, since we now use ->constant instead. (Fkill_local_variable): Don't use XBUFFER if it can be nil.
* (long_to_cons): Fix type of top.Andreas Schwab2003-03-121-2/+2
|
* (Fstring_to_number, Fminus): Better English in doc strings.Francesco Potortì2002-12-291-2/+2
|
* (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local)Francesco Potortì2002-12-251-24/+26
| | | | | | | (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.
* (Fdefalias): Record in load-history redefining an autoload.Richard M. Stallman2002-12-071-0/+3
|
* (Flsh): Fix spacing.Juanma Barranquero2002-09-061-1/+1
|
* (Fmake_variable_frame_local): Doc fix.Richard M. Stallman2002-08-071-2/+2
|
* (Fdefalias): Doc fix.Richard M. Stallman2002-07-181-1/+4
|
* * data.c (Faref): Use SDATA.Ken Raeburn2002-07-161-3/+3
| | | | (Faset): Use SDATA, SSET.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-25/+25
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* (Fdefalias): Add an optional `docstring' argument.Stefan Monnier2002-07-091-6/+10
| | | | (set_internal, Fsetq_default): Use XCAR/XCDR.
* * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding)Ken Raeburn2002-05-201-7/+7
| | | | | | (Fmake_variable_buffer_local, Fmake_local_variable) (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
* (wrong_type_argument): Remove mocklisp case.Pavel Janík2001-12-221-9/+0
|
* (Vmost_positive_fixnum, Vmost_negative_fixnum): RenamedAndreas Schwab2001-12-071-7/+7
| | | | | | from most_positive_fixnum and most_negative_fixnum, resp., and type changed to Lisp_Object. (syms_of_data): DEFVAR_LISP them.
* (Ftimes): Doc fix.Pavel Janík2001-11-161-4/+4
| | | | | | (Fquo): Likewise. (Frem): Likewise. (Fmod): Likewise.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-45/+45
|
* (Fsetq_default): Add usage to doc-string.Pavel Janík2001-11-021-1/+2
|
* (Fmake_local_variable): Doc fix.Richard M. Stallman2001-11-011-1/+1
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-291/+305
|
* (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior, Flogxor):Miles Bader2001-10-211-9/+18
| | | | Add usage: string to doc string.
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-11/+11
| | | | with lisp system changes.
* (Fstring_to_number): Use make_fixnum_or_float.Gerd Moellmann2001-10-111-4/+1
|
* (Qcircular_list): New variable.Gerd Moellmann2001-10-111-1/+17
| | | | | (circular_list_error): New function. (syms_of_data): Initialize it Qcircular_list.
* (most_positive_fixnum, most_negative_fixnum): NewGerd Moellmann2001-10-061-0/+10
| | | | | | variables. (syms_of_data): DEFVAR_INT most-positive-fixnum and most-negative-fixnum.
* Use SYMBOL_VALUE/SET_SYMBOL_VALUE.Gerd Moellmann2001-10-051-45/+111
| | | | | | | | | | | | | | | (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.
* (Fsubr_interactive_form): New function.Gerd Moellmann2001-03-291-0/+15
| | | | (syms_of_data): Defsubr it.
* (store_symval_forwarding): Add parameter BUF. If BUF isGerd Moellmann2001-03-151-37/+79
| | | | | | | | | | | | 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.
* (find_symbol_value): Remove extra 3rd argument in theEli Zaretskii2001-01-021-2/+1
| | | | call to swap_in_symval_forwarding.
* Avoid some more compiler warnings.Gerd Moellmann2000-09-211-2/+4
|
* (Faset): Allow storing any multibyte character in a string. ConvertKenichi Handa2000-07-211-24/+69
| | | | unibyte string to multibyte if necessary.
* (set_internal): If variable is frame-local,Gerd Moellmann2000-06-191-4/+24
| | | | store the new value immediately into the frame parameter alist.
* (set_internal): Remove debug code.Gerd Moellmann2000-06-151-3/+0
|
* (swap_in_global_binding): New function.Gerd Moellmann2000-06-131-0/+33
|
* (Qsubrp, Qmany, Qunevalled): New variables.Dave Love2000-05-261-1/+32
| | | | | (Fsubr_arity): New function. (syms_of_data): Install them.
* (Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.Kenichi Handa2000-05-191-2/+2
| | | | (Faset): Likewise.
* * lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):Ken Raeburn2000-03-301-1/+2
| | | | | | | | | | | | | | | | | | 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.
* Use new macro namesGerd Moellmann2000-03-271-18/+18
| | | | for handling per-buffer variables.
* (do_symval_forwarding, store_symval_forwarding)Gerd Moellmann2000-03-261-32/+30
| | | | | | (find_symbol_value, set_internal, default_value, Fset_default) (Fkill_local_variable, Flocal_variable_p): Use new macros for per-buffer variables.
* (Fstring_to_number): If number is greater than whatGerd Moellmann2000-02-231-14/+23
| | | | fits into an integer, return a float.