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.
This commit is contained in:
Dario Gjorgjevski 2019-05-17 11:46:54 +02:00 committed by Basil L. Contovounesios
parent b0da9151d8
commit e61349c224

View file

@ -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."