changeset 59739:d44378e6fdf5

(all): Add `undo-outer-limit'.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 27 Jan 2005 02:41:38 +0000
parents a21e342024d8
children cb5187e74fa8
files lisp/cus-start.el
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.