aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c
Commit message (Collapse)AuthorAgeFilesLines
* (truncate_undo_list): New arg LIMITSIZE.Richard M. Stallman2004-05-291-6/+16
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-4/+4
|
* (record_point):Dave Love2002-11-141-0/+1
| | | | Declare all args (per C99).
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-3/+3
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero2002-07-101-1/+1
|
* (record_point): New fun.Stefan Monnier2002-04-041-57/+63
| | | | (record_delete, record_insert): Use it.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-1/+1
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-10-211-7/+7
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-3/+3
| | | | with lisp system changes.
* (Fprimitive_undo): Use XCAR/XCDR.Stefan Monnier2001-10-121-5/+5
|
* (Fprimitive_undo): In a writable buffer, enable undoingGerd Moellmann2001-04-301-2/+3
| | | | read-only text that is so because of text properties.
* (Fprimitive_undo): Remove unused block-scope variableEli Zaretskii2001-01-021-1/+0
| | | | `end'.
* (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t.Gerd Moellmann2000-12-211-1/+5
|
* Update copyright.Gerd Moellmann2000-12-041-1/+1
|
* (Fprimitive_undo): Bind inhibit-read-only to t ifGerd Moellmann2000-12-041-1/+1
| | | | current buffer is read-only, not if it isn't.
* * undo.c (record_delete): Check that last_undo_buffer is really a buffer beforeKen Raeburn2000-10-271-1/+2
| | | | | | applying XBUFFER to it. * keymap.c (where_is_internal): Pass lisp object, not integer, to Faref.
* (record_first_change, record_marker_adjustment): Don'useGerd Moellmann2000-08-191-2/+4
| | | | XBUFFER on last_undo_buffer which might not be a buffer.
* (record_delete): Make sure last_point_position_buffer is a buffer beforeKen Raeburn2000-08-081-0/+2
| | | | comparing pointers.
* (record_delete): If we hit the end of the undo list, stop picking elementsKen Raeburn2000-04-261-1/+4
| | | | apart.
* * 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.
* Remove USE_TEXT_PROPERTIES.Gerd Moellmann1999-11-111-2/+0
|
* Use XCAR and XCDR instead of explicit member access.Ken Raeburn1999-09-131-21/+21
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-141-0/+1
|
* (record_delete): Record last_point_position when there'sKenichi Handa1998-03-241-2/+18
| | | | no record other than marker adjustment before undo boundary.
* (record_delete): Replace LENGTH arg with STRING.Richard M. Stallman1998-03-211-11/+9
| | | | (record_change): Call record_delete the new way.
* (record_delete, record_marker_adjustment): Declare them as void.Kenichi Handa1997-11-271-0/+3
|
* (record_change, record_first_change,Kenichi Handa1997-11-271-0/+3
| | | | record_property_change): Declare it as void.
* (Fprimitive_undo): When inserting, always insertRichard M. Stallman1997-04-141-8/+6
| | | | after markers (the ordinary kind of insertion).
* Change all references from point to PT.Karl Heuer1996-09-011-1/+1
|
* (record_marker_adjustment): New function.Richard M. Stallman1996-02-031-0/+34
| | | | (Fprimitive_undo): Handle marker-adjustment elements.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-13/+13
|
* (Fprimitive_undo): Don't end inner loopRichard M. Stallman1995-07-251-1/+1
| | | | just because a previous-modtime doesn't match any more.
* (record_insert): Change args to be ints, not Lisp_Objects.Karl Heuer1995-06-061-5/+5
|
* (Fprimitive_undo): Use base buffer's modtime field.Richard M. Stallman1995-01-021-6/+15
| | | | | Use SAVE_MODIFF and BUF_SAVE_MODIFF instead of direct access to the save_modiff field.
* (record_delete, record_first_change): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-5/+5
|
* (record_insert, record_delete, record_first_change, record_property_change):Karl Heuer1994-10-041-7/+7
| | | | Use new accessor macros instead of calling XSET directly.
* (record_insert, truncate_undo_list, Fprimitive_undo): Use type test macros.Karl Heuer1994-09-271-18/+16
|
* (Fprimitive_undo): GCPRO next and list.Karl Heuer1994-05-251-2/+9
| | | | Check argument type before calling XINT.
* (record_delete): Record the old point value only right after a boundary.Richard M. Stallman1994-05-071-2/+9
| | | | (record_delete): Test last_point_position_buffer.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (syms_of_undo): staticpro pending_boundary.Richard M. Stallman1994-03-081-1/+35
| | | | | | | | (pending_boundary): New variable. (syms_of_undo): Initialize it. (Fundo_boundary): Use pending_boundary. (record_insert, record_delete, record_property_change): Set pending_boundary.
* (record_delete): Save last_point_position in the undo record, rather than theKarl Heuer1994-03-031-3/+4
| | | | current value of point.
* (record_first_change): Check for buffer-undo-list = t.Richard M. Stallman1994-02-031-1/+9
| | | | | | Make an undo boundary if appropriate. Set last_undo_buffer. (record_property_change): Use BUFFER, not current_buffer, when testing undo_list.
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (Fprimitive_undo): Rename arg to N to avoid conflict.Richard M. Stallman1993-06-131-3/+3
|
* (syms_of_undo): Set up Qinhibit_read_only.Richard M. Stallman1993-06-121-1/+11
| | | | (Fprimitive_undo): Sometimes bind inhibit-read-only to t.
* (record_delete): Always use XFASTINT on sbeg.Richard M. Stallman1993-06-121-4/+6
| | | | | (Fprimitive_undo): Add missing `else'. Add USE_TEXT_PROPERTIES conditional for calling Fput_text_property. Use XINT on high, low.
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* (record_property_change, record_delete, record_insert):Richard M. Stallman1993-03-151-7/+9
| | | | Don't make boundary or touch last_undo_buffer if cur buf has no undo.