From 2f6a3e791265352675c52a41b0c17ccaab4210da Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 26 Aug 2011 20:52:47 -0400 Subject: * lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352) --- lisp/saveplace.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/saveplace.el') 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) -- cgit v1.2.1