diff options
author | Case Duckworth | 2021-10-11 22:26:00 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-11 22:26:00 -0500 |
commit | cfc08127a91459bf759e88800f5bc52b88457bbf (patch) | |
tree | 13c14363b50fdd8fbd03973b61b2d6862eeec78f | |
parent | Moar mu4e config (diff) | |
download | emacs-cfc08127a91459bf759e88800f5bc52b88457bbf.tar.gz emacs-cfc08127a91459bf759e88800f5bc52b88457bbf.zip |
Configure elfeed
-rw-r--r-- | init.el | 9 |
1 files changed, 8 insertions, 1 deletions
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'." | |||
1517 | (:advise elfeed :after | 1517 | (:advise elfeed :after |
1518 | (defun elfeed@protocol-update (&rest _) | 1518 | (defun elfeed@protocol-update (&rest _) |
1519 | (elfeed-search-fetch nil))) | 1519 | (elfeed-search-fetch nil))) |
1520 | 1520 | (:with-mode elfeed-search-mode | |
1521 | (:bind "G" (defun elfeed-protocol|update-first (arg) | ||
1522 | (interactive "P") | ||
1523 | (let ((first-proto (caar elfeed-feeds))) | ||
1524 | (if arg | ||
1525 | (call-interactively #'elfeed-protocol-fever-reinit) | ||
1526 | (with-temp-message (format "Updating %s" first-proto) | ||
1527 | (elfeed-protocol-fever-reinit first-proto))))))) | ||
1521 | (:with-mode elfeed-show-mode | 1528 | (:with-mode elfeed-show-mode |
1522 | (:hook #'reading-mode) | 1529 | (:hook #'reading-mode) |
1523 | (:local-set shr-max-image-proportion 0.9 | 1530 | (:local-set shr-max-image-proportion 0.9 |