[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 e61349c: Fix customization type of recentf-max-sa
From: |
Basil L. Contovounesios |
Subject: |
[Emacs-diffs] emacs-26 e61349c: Fix customization type of recentf-max-saved-items |
Date: |
Wed, 22 May 2019 20:16:00 -0400 (EDT) |
branch: emacs-26
commit e61349c22412c0eaa7c03e08bfb0467a0a79708a
Author: Dario Gjorgjevski <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>
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.
---
lisp/recentf.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 93f9a57..4390626 100644
--- a/lisp/recentf.el
+++ b/lisp/recentf.el
@@ -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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 e61349c: Fix customization type of recentf-max-saved-items,
Basil L. Contovounesios <=