X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-undo.el;h=0854b5435f7d4c4f8c4fd18f65d9e90efb38f139;hb=d35146fa43e9e2d8d346073c3c0692162abf4759;hp=802ae63caa4ca7b866b83075704ee3343160fa0b;hpb=854bddc2d74ce7087c65f174a15d9e4958a7fd54;p=gnus diff --git a/lisp/gnus-undo.el b/lisp/gnus-undo.el index 802ae63ca..0854b5435 100644 --- a/lisp/gnus-undo.el +++ b/lisp/gnus-undo.el @@ -1,7 +1,6 @@ ;;; gnus-undo.el --- minor mode for undoing in Gnus -;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1996-2013 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Keywords: news @@ -154,9 +153,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 @@ -191,5 +187,4 @@ A numeric argument serves as a repeat count." (provide 'gnus-undo) -;; arch-tag: 0d787bc7-787d-499a-837f-211d2cb07f2e ;;; gnus-undo.el ends here