diff options
author | Luc Teirlinck <[email protected]> | 2005-01-27 02:45:20 +0000 |
---|---|---|
committer | Luc Teirlinck <[email protected]> | 2005-01-27 02:45:20 +0000 |
commit | 3bf93f74020a5df8e1449b7aecb130e667c78af7 (patch) | |
tree | 60b7918321a6e0559b1bb77930b00761a4d7c225 /lisp | |
parent | 999f5a607e17b7565b90ff4161bebc113f65ada9 (diff) |
(all): Add `undo-outer-limit'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/cus-start.el | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6eaff11c58..b5247f7cbf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-01-26 Luc Teirlinck <[email protected]> + + * cus-start.el (all): Add `undo-outer-limit'. + 2005-01-25 Roland Winkler <[email protected]> * textmodes/bibtex.el (bibtex-format-entry): Use diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 12ffd93fef..fc29373449 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. |