diff --git a/elfeed-prune.el b/elfeed-prune.el index 8048841..8450968 100644 --- a/elfeed-prune.el +++ b/elfeed-prune.el @@ -73,7 +73,7 @@ Each predicate accepts an entry and a feed object and should return t when the entry should be pruned, unless any of the predicates in `elfeed-prune-keep-predicates' returns t." :group 'elfeed-prune - :type 'list) + :type '(repeat function)) (defcustom elfeed-prune-keep-predicates nil "Always keep entries that match one of these predicates. @@ -81,7 +81,7 @@ predicates in `elfeed-prune-keep-predicates' returns t." Each predicate accepts an entry and a feed object and should return t when the entry should be kept." :group 'elfeed-prune - :type 'list) + :type '(repeat function)) (defun elfeed-prune--feed-unlisted-p (entry feed) (not (seq-contains-p (mapcar #'car elfeed-feeds)