From: Stefan Kangas Date: Thu, 13 Feb 2025 05:23:17 +0000 (+0100) Subject: Increase recentf-max-saved-items to 25 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be22d2e9189f67577a96092d09ab56da66f8ec13;p=emacs.git Increase recentf-max-saved-items to 25 * lisp/recentf.el (recentf-max-saved-items): Increase default to 25. (cherry picked from commit 2e9413255fb8cbd0c8481ca6f863b37df3e9008d) --- diff --git a/lisp/recentf.el b/lisp/recentf.el index 4e84dc68721..36d4485e73a 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."