summaryrefslogtreecommitdiff
path: root/src/undo.c
Commit message (Collapse)AuthorAgeFilesLines
* (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