diff options
author | Glenn Morris <rgm@gnu.org> | 2011-08-26 20:52:47 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-08-26 20:52:47 -0400 |
commit | 2f6a3e791265352675c52a41b0c17ccaab4210da (patch) | |
tree | b724d8a485e9edc33520c9737e14bfc10e78f4f7 /lisp/saveplace.el | |
parent | 041d709f19b8305de4856aaa99b579047ed00f12 (diff) | |
download | emacs-2f6a3e791265352675c52a41b0c17ccaab4210da.tar.gz |
* lisp/saveplace.el (save-place-limit): Make it finite. (Bug#9352)
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r-- | lisp/saveplace.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |