From 287a6a102aabca4eb8c7d856c917bc65d6fb039e Mon Sep 17 00:00:00 2001 From: Bram Schoenmakers Date: Tue, 2 Jul 2024 06:12:21 +0200 Subject: [PATCH] Adjust type op custom variables with predicates --- elfeed-prune.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)