From 2e9413255fb8cbd0c8481ca6f863b37df3e9008d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 13 Feb 2025 06:23:17 +0100 Subject: [PATCH] Increase recentf-max-saved-items to 25 * lisp/recentf.el (recentf-max-saved-items): Increase default to 25. --- lisp/recentf.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/recentf.el b/lisp/recentf.el index a282fbee3b1..8862fea9926 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -73,13 +73,14 @@ 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."