From: Glenn Morris Date: Sat, 27 Aug 2011 00:52:47 +0000 (-0400) Subject: * lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352) X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~64 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f6a3e791265352675c52a41b0c17ccaab4210da;p=emacs.git * lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e3fe51454e5..b7adbb93126 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-08-27 Glenn Morris + + * saveplace.el (save-place-limit): Make it finite. (Bug#9352) + 2011-08-26 Chong Yidong * emacs-lisp/package.el (package-install): Call package-initialize diff --git a/lisp/saveplace.el b/lisp/saveplace.el index 2d1586d895a..9d776877ca6 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -89,8 +89,9 @@ value of `version-control'." (defvar save-place-loaded nil "Non-nil means that the `save-place-file' has been loaded.") -(defcustom save-place-limit nil +(defcustom save-place-limit 400 "Maximum number of entries to retain in the list; nil means no limit." + :version "24.1" ; nil -> 400 :type '(choice (integer :tag "Entries" :value 1) (const :tag "No Limit" nil)) :group 'save-place)