aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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.
* (record_property_change): Typo in last change.Richard M. Stallman1993-03-011-0/+49
| | | | | (Fprimitive_undo): Handle property-change undo entry. (record_property_change): New function.
* * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdefJim Blandy1992-11-161-2/+2
| | | | and #endif.
* * undo.c (record_insert): Use accessors on BEG and LENGTH.Jim Blandy1992-10-311-7/+8
| | | | (truncate_undo_list): Use NILP, not == Qnil.
* (Fprimitive_undo): When undoing an insert, move point and then delete.Richard M. Stallman1992-10-031-1/+3
|
* (record_delete): Record pos before the deletion.Richard M. Stallman1992-09-281-51/+72
| | | | (Fprimitive_undo): Go back to recorded position.
* Doc fix.Jim Blandy1992-08-121-1/+2
|
* entered into RCSJim Blandy1992-07-131-2/+2
|
* *** empty log message ***Jim Blandy1992-02-111-1/+9
|
* *** empty log message ***Jim Blandy1992-01-131-6/+6
|
* *** empty log message ***Jim Blandy1991-04-111-1/+4
|
* Initial revisionJim Blandy1991-04-031-0/+322