Fix typo in sample configuration

This commit is contained in:
Bram Schoenmakers 2024-07-20 19:16:46 +02:00
parent e4cbaa8bf9
commit 7615a08e98
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -21,7 +21,7 @@ This package will never be provided on MELPA, as it is a glorified hack for elfe
| Variable | Default | Description | | Variable | Default | Description |
|------------------------------+---------+---------------------------------------------------------------| |------------------------------+---------+---------------------------------------------------------------|
| elfeed-prune-enable | nil | Enable the package, otherwise it will perform dry runs only. | | elfeed-prune-enabled | nil | Enable the package, otherwise it will perform dry runs only. |
| elfeed-prune-predicates | | List of functions to evaluate if an entry should be pruned. | | elfeed-prune-predicates | | List of functions to evaluate if an entry should be pruned. |
| elfeed-prune-keep-predicates | | List of functions to evaluate if an entry should be kept. | | elfeed-prune-keep-predicates | | List of functions to evaluate if an entry should be kept. |
| elfeed-prune-days-read | 90 | Read entries older than this amount of days will be pruned. | | elfeed-prune-days-read | 90 | Read entries older than this amount of days will be pruned. |
@ -46,7 +46,7 @@ Below there are some additional predicates that you could add, using scoring or
:ensure nil :ensure nil
:load-path "lisp/elfeed-prune" :load-path "lisp/elfeed-prune"
;; :custom ;; :custom
;; (elfeed-prune-enable nil) ;; (elfeed-prune-enabled nil)
:config :config
(defun bram85-elfeed-prune-entry-score-too-low-p (entry _) (defun bram85-elfeed-prune-entry-score-too-low-p (entry _)
(let ((score (elfeed-score-scoring-get-score-from-entry entry))) (let ((score (elfeed-score-scoring-get-score-from-entry entry)))