app/rss: fix +rss/quit & compact db
This commit is contained in:
parent
0c459cfefd
commit
8240771846
1 changed files with 3 additions and 1 deletions
|
@ -8,10 +8,12 @@
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +rss/quit ()
|
(defun +rss/quit ()
|
||||||
|
"TODO"
|
||||||
(interactive)
|
(interactive)
|
||||||
|
(elfeed-db-compact)
|
||||||
(doom-kill-matching-buffers "^\\*elfeed")
|
(doom-kill-matching-buffers "^\\*elfeed")
|
||||||
(dolist (file +rss-elfeed-files)
|
(dolist (file +rss-elfeed-files)
|
||||||
(when-let* ((buf (get-file-buffer (expand-file-name file +rss-org-dir))))
|
(when-let* ((buf (get-file-buffer (expand-file-name file +org-dir))))
|
||||||
(kill-buffer buf))))
|
(kill-buffer buf))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue