aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Gjorgjevski2019-05-17 11:46:54 +0200
committerBasil L. Contovounesios2019-05-23 01:14:21 +0100
commite61349c22412c0eaa7c03e08bfb0467a0a79708a (patch)
tree7551afcf7e35e3d91216fa9b832461ec09298bec
parentb0da9151d880f7ae60367a4b3d3ef91209bbd06f (diff)
downloademacs-e61349c22412c0eaa7c03e08bfb0467a0a79708a.tar.gz
emacs-e61349c22412c0eaa7c03e08bfb0467a0a79708a.zip
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.
-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."
67A nil value means to save the whole list. 67A nil value means to save the whole list.
68See the command `recentf-save-list'." 68See the command `recentf-save-list'."
69 :group 'recentf 69 :group 'recentf
70 :type 'integer) 70 :type '(choice (integer :tag "Entries" :value 1)
71 (const :tag "No Limit" nil)))
71 72
72(defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf") 73(defcustom recentf-save-file (locate-user-emacs-file "recentf" ".recentf")
73 "File to save the recent list into." 74 "File to save the recent list into."