summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-04 17:26:37 -0600
committerCase Duckworth2022-01-04 17:26:37 -0600
commit0b1230e97cbd0e785d7b0536c20e1094a4ab4704 (patch)
tree2dfa5da99bc7f2c520f93ae63c58d417724cf95a
parentRemove spurious forms (diff)
downloademacs-0b1230e97cbd0e785d7b0536c20e1094a4ab4704.tar.gz
emacs-0b1230e97cbd0e785d7b0536c20e1094a4ab4704.zip
Add hl-line-mode to elfeed-search-mode
-rw-r--r--init.el8
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)))