mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
app/rss: add +rss/quit command
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user