summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-undo.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/gnus-undo.el')
-rw-r--r--lisp/gnus/gnus-undo.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-undo.el b/lisp/gnus/gnus-undo.el
index 802ae63caa4..d11b778f351 100644
--- a/lisp/gnus/gnus-undo.el
+++ b/lisp/gnus/gnus-undo.el
@@ -154,9 +154,6 @@ FORMS may use backtick quote syntax."
;; We are on a boundary, so we create a new action.
(gnus-undo-boundary
(push (list function) gnus-undo-actions)
- ;; Don't let the undo actions grow infinitely.
- (when (> (length gnus-undo-actions) 100)
- (setcdr (nthcdr 100 gnus-undo-actions) nil))
(setq gnus-undo-boundary nil))
;; Prepend the function to an old action.
(gnus-undo-actions