Commit e61349c2 authored by Dario Gjorgjevski's avatar Dario Gjorgjevski Committed by Basil L. Contovounesios

Fix customization type of recentf-max-saved-items

Change the customization type of recentf-max-saved-items to include
nil, as it is an allowed value (Bug#35771).
* lisp/recentf.el (recentf-max-saved-items): Change the customization
type in the defcustom.
parent b0da9151
Pipeline #1775 passed with stage
in 25 minutes and 51 seconds
......@@ -67,7 +67,8 @@ You should define the options of your own filters in this group."
A nil value means to save the whole list.
See the command `recentf-save-list'."
:group 'recentf
:type 'integer)
:type '(choice (integer :tag "Entries" :value 1)
(const :tag "No Limit" nil)))
(defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf")
"File to save the recent list into."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment