emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/undo.c


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/src/undo.c
Date: Sat, 29 Jan 2005 19:39:33 -0500

Index: emacs/src/undo.c
diff -c emacs/src/undo.c:1.64 emacs/src/undo.c:1.65
*** emacs/src/undo.c:1.64       Sat Jan 29 17:16:31 2005
--- emacs/src/undo.c    Sun Jan 30 00:39:33 2005
***************
*** 639,649 ****
    DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit,
              doc: /* Outer limit on size of undo information for one command.
  At garbage collection time, if the current command has produced
! more than this much undo information, it asks you whether to delete
! the information.  This is a last-ditch limit to prevent memory overflow.
  
! The size is counted as the number of bytes occupied,
! which includes both saved text and other data.
  
  In fact, this calls the function which is the value of
  `undo-outer-limit-function' with one argument, the size.
--- 639,651 ----
    DEFVAR_LISP ("undo-outer-limit", &Vundo_outer_limit,
              doc: /* Outer limit on size of undo information for one command.
  At garbage collection time, if the current command has produced
! more than this much undo information, it discards the info and displays
! a warning.  This is a last-ditch limit to prevent memory overflow.
  
! The size is counted as the number of bytes occupied, which includes
! both saved text and other data.  A value of nil means no limit.  In
! this case, accumulating one huge undo entry could make Emacs crash as
! a result of memory overflow.
  
  In fact, this calls the function which is the value of
  `undo-outer-limit-function' with one argument, the size.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]