diff options
author | Case Duckworth | 2021-12-28 22:15:22 -0600 |
---|---|---|
committer | Case Duckworth | 2021-12-28 22:15:22 -0600 |
commit | 0411f2a6e57e4a35340f8e4920f70a81d60b8072 (patch) | |
tree | 56d8341ba7046dbe1d3ec50748d6cf742050c1aa | |
parent | Add advice to indent after a yank (diff) | |
download | emacs-0411f2a6e57e4a35340f8e4920f70a81d60b8072.tar.gz emacs-0411f2a6e57e4a35340f8e4920f70a81d60b8072.zip |
Advise elfeed-search-update--force to save the db after
-rw-r--r-- | init.el | 2 |
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) |