]> git.eshelyaron.com Git - emacs.git/commitdiff
Increase recentf-max-saved-items to 25
authorStefan Kangas <stefankangas@gmail.com>
Thu, 13 Feb 2025 05:23:17 +0000 (06:23 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 13 Feb 2025 11:53:11 +0000 (12:53 +0100)
* lisp/recentf.el (recentf-max-saved-items): Increase default to 25.

(cherry picked from commit 2e9413255fb8cbd0c8481ca6f863b37df3e9008d)

lisp/recentf.el

index 4e84dc687215e9cfbf8acfb924f816dac737bbaa..36d4485e73a7fb4285a4209b4066b0419f70bb7b 100644 (file)
 You should define the options of your own filters in this group."
   :group 'recentf)
 
-(defcustom recentf-max-saved-items 20
+(defcustom recentf-max-saved-items 25
   "Maximum number of items of the recent list that will be saved.
 A nil value means to save the whole list.
 See the command `recentf-save-list'."
   :group 'recentf
-  :type '(choice (integer :tag "Entries" :value 1)
-                (const :tag "No Limit" nil)))
+  :type '(choice (natnum :tag "Entries")
+                (const :tag "No Limit" nil))
+  :version "31.1")
 
 (defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf")
   "File to save the recent list into."