app/rss: add +rss/quit command
This commit is contained in:
parent
4b46475fc6
commit
813630fc56
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue