From 3bf93f74020a5df8e1449b7aecb130e667c78af7 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Thu, 27 Jan 2005 02:45:20 +0000 Subject: [PATCH] (all): Add `undo-outer-limit'. --- lisp/ChangeLog | 4 ++++ lisp/cus-start.el | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6eaff11c580..b5247f7cbfe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-01-26 Luc Teirlinck + + * cus-start.el (all): Add `undo-outer-limit'. + 2005-01-25 Roland Winkler * textmodes/bibtex.el (bibtex-format-entry): Use diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 12ffd93fefd..fc293734495 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -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. -- 2.39.2