summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-12-28 22:15:22 -0600
committerCase Duckworth2021-12-28 22:15:22 -0600
commit0411f2a6e57e4a35340f8e4920f70a81d60b8072 (patch)
tree56d8341ba7046dbe1d3ec50748d6cf742050c1aa /init.el
parentAdd advice to indent after a yank (diff)
downloademacs-0411f2a6e57e4a35340f8e4920f70a81d60b8072.tar.gz
emacs-0411f2a6e57e4a35340f8e4920f70a81d60b8072.zip
Advise elfeed-search-update--force to save the db after
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index 63afc75..937e9a1 100644 --- a/init.el +++ b/init.el
@@ -615,6 +615,8 @@ See also `crux-reopen-as-root-mode'."
615 elfeed-curl-extra-arguments '("--insecure") 615 elfeed-curl-extra-arguments '("--insecure")
616 elfeed-show-unique-buffers t 616 elfeed-show-unique-buffers t
617 elfeed-db-directory (sync/ "elfeed/db/" t)) 617 elfeed-db-directory (sync/ "elfeed/db/" t))
618 ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hphfh4e/
619 (advice-add #'elfeed-search-update--force :after #'elfeed-db-save)
618 (:with-mode elfeed-show-mode 620 (:with-mode elfeed-show-mode
619 (:bind "SPC" #'+elfeed-scroll-up-command 621 (:bind "SPC" #'+elfeed-scroll-up-command
620 "S-SPC" #'+elfeed-scroll-down-command) 622 "S-SPC" #'+elfeed-scroll-down-command)