diff options
-rw-r--r-- | init.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/init.el b/init.el index aa195f5..06f92ba 100644 --- a/init.el +++ b/init.el | |||
@@ -859,15 +859,17 @@ See also `crux-reopen-as-root-mode'." | |||
859 | elfeed-search-title-max-width 78 | 859 | elfeed-search-title-max-width 78 |
860 | elfeed-show-unique-buffers t | 860 | elfeed-show-unique-buffers t |
861 | elfeed-db-directory (elfeed/ "db/" t)) | 861 | elfeed-db-directory (elfeed/ "db/" t)) |
862 | ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hphfh4e/ | 862 | (:with-mode elfeed-search-mode |
863 | (advice-add #'elfeed-search-update--force :after #'elfeed-db-save) | 863 | (:hook #'hl-line-mode) |
864 | ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hphfh4e/ | ||
865 | (advice-add #'elfeed-search-update--force :after #'elfeed-db-save)) | ||
864 | (:with-mode elfeed-show-mode | 866 | (:with-mode elfeed-show-mode |
865 | (:bind "SPC" #'+elfeed-scroll-up-command | 867 | (:bind "SPC" #'+elfeed-scroll-up-command |
866 | "S-SPC" #'+elfeed-scroll-down-command) | 868 | "S-SPC" #'+elfeed-scroll-down-command) |
867 | (:hook #'reading-mode) | 869 | (:hook #'reading-mode) |
868 | (define-advice elfeed-show-entry (:after (&rest _)) | 870 | (define-advice elfeed-show-entry (:after (&rest _)) |
869 | "Re-flow the entry a short time after showing it." | 871 | "Re-flow the entry a short time after showing it." |
870 | (run-at-time 0 nil #'elfeed-show-refresh)))) | 872 | (run-at-time 0.1 nil #'elfeed-show-refresh)))) |
871 | 873 | ||
872 | (setup (:straight elfeed-org) | 874 | (setup (:straight elfeed-org) |
873 | (:option rmh-elfeed-org-files (list (elfeed/ "elfeed.org" t))) | 875 | (:option rmh-elfeed-org-files (list (elfeed/ "elfeed.org" t))) |