aboutsummaryrefslogtreecommitdiffstats
path: root/oni-elfeed.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-07-16 08:30:30 -0700
committerGravatar Tom Willemse2019-07-16 08:30:30 -0700
commit87e0ca4b73aefad5771e67a4958eff70e8d0911d (patch)
tree4746105888949127036f2f61317b314633b0f121 /oni-elfeed.el
parent80970dfa472fbe97ff66a0f51108ac2cb1e620ff (diff)
downloademacs-config-87e0ca4b73aefad5771e67a4958eff70e8d0911d.tar.gz
emacs-config-87e0ca4b73aefad5771e67a4958eff70e8d0911d.zip
Add r/emacs and mark any post older than 2 weeks as read
Diffstat (limited to 'oni-elfeed.el')
-rw-r--r--oni-elfeed.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/oni-elfeed.el b/oni-elfeed.el
index 46ac0ef..fe80290 100644
--- a/oni-elfeed.el
+++ b/oni-elfeed.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190711224914
+;; Version: 20190716082505
;; Package-Requires: (elfeed)
;; This program is free software; you can redistribute it and/or modify
@@ -30,7 +30,12 @@
(setq elfeed-feeds
'("http://nullprogram.com/feed/"
- "http://planet.emacsen.org/atom.xml"))
+ ("http://planet.emacsen.org/atom.xml" emacs)
+ ("https://www.reddit.com/r/emacs/hot.xml" emacs)))
+
+(add-hook 'elfeed-new-entry-hook
+ (elfeed-make-tagger :before "2 weeks ago"
+ :remove 'unread))
;;;###autoload(with-eval-after-load 'elfeed (require 'oni-elfeed))