From cfc08127a91459bf759e88800f5bc52b88457bbf Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 11 Oct 2021 22:26:00 -0500 Subject: Configure elfeed --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index d15ce11..8fc23ba 100644 --- a/init.el +++ b/init.el @@ -1517,7 +1517,14 @@ See also `crux-reopen-as-root-mode'." (:advise elfeed :after (defun elfeed@protocol-update (&rest _) (elfeed-search-fetch nil))) - + (:with-mode elfeed-search-mode + (:bind "G" (defun elfeed-protocol|update-first (arg) + (interactive "P") + (let ((first-proto (caar elfeed-feeds))) + (if arg + (call-interactively #'elfeed-protocol-fever-reinit) + (with-temp-message (format "Updating %s" first-proto) + (elfeed-protocol-fever-reinit first-proto))))))) (:with-mode elfeed-show-mode (:hook #'reading-mode) (:local-set shr-max-image-proportion 0.9 -- cgit 1.4.1-21-gabe81