app/rss: add +rss/quit command

This commit is contained in:
Henrik Lissner 2017-04-10 15:54:40 -04:00
parent 4b46475fc6
commit 813630fc56
2 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,14 @@
(interactive)
(call-interactively 'elfeed))
;;;###autoload
(defun +rss/quit ()
(interactive)
(doom-kill-matching-buffers "^\\*elfeed")
(dolist (file +rss-elfeed-files)
(when-let (buf (get-file-buffer (expand-file-name file +rss-org-dir)))
(kill-buffer buf))))
;;;###autoload
(defun +rss|elfeed-wrap ()
"Enhances an elfeed entry's readability by wrapping it to a width of