summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/recentf.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/recentf.el b/lisp/recentf.el
index 93f9a57094c..4390626ef20 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."