diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-11-13 01:27:48 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-11-13 01:27:48 -0500 |
commit | b13ec3c8fcc04c7596f88597c6e11463ee4da0ea (patch) | |
tree | 7134f7d118663e4455ad606cd730958547493871 | |
parent | 5305808fce747936579f9db965a1b163b20e308b (diff) | |
download | emacs.d-b13ec3c8fcc04c7596f88597c6e11463ee4da0ea.tar.gz |
Add elfeed-default-filter command
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/km-elfeed.el | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -2064,6 +2064,7 @@ :init (after 'elfeed (bind-keys :map elfeed-search-mode-map + ("d" . km/elfeed-default-filter) ("t" . km/elfeed-set-tag)))) 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 |