summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-11-13 01:27:48 -0500
committerKyle Meyer <kyle@kyleam.com>2016-11-13 01:27:48 -0500
commitb13ec3c8fcc04c7596f88597c6e11463ee4da0ea (patch)
tree7134f7d118663e4455ad606cd730958547493871 /lisp
parent5305808fce747936579f9db965a1b163b20e308b (diff)
downloademacs.d-b13ec3c8fcc04c7596f88597c6e11463ee4da0ea.tar.gz
Add elfeed-default-filter command
Diffstat (limited to 'lisp')
-rw-r--r--lisp/km-elfeed.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/km-elfeed.el b/lisp/km-elfeed.el
index 0e67e01..bea17c1 100644
--- a/lisp/km-elfeed.el
+++ b/lisp/km-elfeed.el
@@ -51,5 +51,10 @@ filter to the default, respectively."
(format " +%s"
(cdr (assq tag-key km/elfeed-tag-keys)))))))))
+;;;###autoload
+(defun km/elfeed-default-filter ()
+ (interactive)
+ (elfeed-search-set-filter (default-value 'elfeed-search-filter)))
+
(provide 'km-elfeed)
;;; km-elfeed.el ends here