summaryrefslogtreecommitdiff
path: root/src/undo.c
Commit message (Collapse)AuthorAgeFilesLines
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* (last_boundary_buffer, last_boundary_position): New vars.Stefan Monnier2008-04-041-34/+29
| | | | | | | (Fundo_boundary): Set them. (syms_of_undo): Initialize them. (record_point): Use them instead of last_point_position*. (last_undo_buffer): Change type.
* (undo_inhibit_record_point): New variable.Martin Rudalics2008-01-201-1/+17
| | | | | | (syms_of_undo): Initialize it. (record_point): Don't record point when undo_inhibit_record_point is set.
* Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (Fprimitive_undo): Give clearer error message when trying to changeChong Yidong2007-03-301-0/+2
| | | | text properties outside accessible part of buffer.
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Undo previous change.Richard M. Stallman2005-12-261-1/+0
|
* include keyboard.h.Luc Teirlinck2005-12-261-0/+1
|
* Depend on window.h.Richard M. Stallman2005-12-261-4/+12
| | | | (record_point): Save old point from the correct window.
* (truncate_undo_list): Avoid dangerous side effects in NILP argument.Ken Raeburn2005-12-061-3/+3
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (Fprimitive_undo): Check that undo function does not switch buffer.Kim F. Storm2005-02-091-0/+5
|
* (Fprimitive_undo): Check veracity of delta,start,end.Stefan Monnier2005-02-081-6/+22
|
* (Fprimitive_undo): Record max one dummmy apply element.Kim F. Storm2005-02-071-9/+18
|
* (Fprimitive_undo): Fix dummy apply undo entry.Kim F. Storm2005-02-021-1/+2
|
* (Qapply): New lisp var.Kim F. Storm2005-01-311-2/+17
| | | | | | (syms_of_undo): Intern and staticpro it. (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS).
* (syms_of_undo) <undo-outer-limit>: Increase value to 3 Meg.Luc Teirlinck2005-01-301-1/+1
|
* (syms_of_undo) <undo-outer-limit>: Doc update.Luc Teirlinck2005-01-301-4/+6
|
* (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME.Richard M. Stallman2005-01-291-2/+14
|
* (Vundo_outer_limit): Replaces undo_outer_limit. Uses changed.Richard M. Stallman2004-12-231-4/+6
| | | | | (syms_of_undo): Initialize appropriately. (truncate_undo_list): If it's nil, there's no limit.
* (truncate_undo_list): Return void.Richard M. Stallman2004-12-211-35/+119
| | | | | | | | | | | | | | Take just one argument, the buffer. Make it current, and inhibit recursive GC. Access and update the undo list directly; return void. Refer to the undo...limit variables directly. Test undo_outer_limit only after counting the whole current command. When it's exceeded, call the function in undo-outer-limit-function. (undo_limit, undo_strong_limit, undo_outer_limit): Moved from alloc.c. (Vundo_outer_limit_function): New variable. (syms_of_undo): Define undo-limit, undo-strong-limit and undo-outer-limit here, and undo-outer-limit-function. Doc fixes.
* (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.