summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-13 01:27:57 -0500
committerKyle Meyer <kyle@kyleam.com>2016-11-13 01:27:57 -0500
commita3be318dd49b59397eca5de837307bf34169888e (patch)
tree3583e31ee17c36078f4aa4ead179141420bf6649 /lisp
parentb13ec3c8fcc04c7596f88597c6e11463ee4da0ea (diff)
downloademacs.d-a3be318dd49b59397eca5de837307bf34169888e.tar.gz
Add elfeed-catchup command
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-elfeed.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/km-elfeed.el b/lisp/km-elfeed.el
index bea17c1..b7de3e6 100644
--- a/lisp/km-elfeed.el
+++ b/lisp/km-elfeed.el
@@ -56,5 +56,12 @@ filter to the default, respectively."
(interactive)
(elfeed-search-set-filter (default-value 'elfeed-search-filter)))
+;;;###autoload
+(defun km/elfeed-catchup ()
+ (interactive)
+ (mark-whole-buffer)
+ (elfeed-search-untag-all-unread)
+ (km/elfeed-default-filter))
+
(provide 'km-elfeed)
;;; km-elfeed.el ends here