diff options
-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 |