# HG changeset patch # User Luc Teirlinck # Date 1106793698 0 # Node ID d44378e6fdf52468ff0d685b919bb5b2d29bc462 # Parent a21e342024d8f182e956ac521007afb93592764f (all): Add `undo-outer-limit'. diff -r a21e342024d8 -r d44378e6fdf5 lisp/cus-start.el --- a/lisp/cus-start.el Thu Jan 27 00:16:28 2005 +0000 +++ b/lisp/cus-start.el Thu Jan 27 02:41:38 2005 +0000 @@ -41,6 +41,17 @@ (gc-cons-threshold alloc integer) (undo-limit undo integer) (undo-strong-limit undo integer) + (undo-outer-limit undo + (choice integer + (const :tag "No limit" + :format "%t\n%d" + :doc + "With this choice, \ +the undo info for the current command never gets discarded. +This should only be chosen under exceptional circumstances, +since it could result in memory overflow and make Emacs crash." + nil)) + "21.4") (garbage-collection-messages alloc boolean) ;; buffer.c (mode-line-format modeline sexp) ;Hard to do right.