summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-07-13 22:12:42 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-07-14 11:55:36 -0700
commit895b981cf4da9996b7661cfdebb49f2de780196d (patch)
treeea21fbd9983aa905c4a2273dec5e078a5f3a1cc3
parent53dcdf67ccd602ae2a551a6e718a41fb4d92c8c4 (diff)
downloaddotfiles-895b981cf4da9996b7661cfdebb49f2de780196d.tar.gz
rebind h to get back from spw/gnus-reader eww buffers
-rw-r--r--.emacs.d/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 6d3321e0..7a1dac68 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -3140,10 +3140,14 @@ mutt's review view, after exiting EDITOR."
;;
;; There is also Gnus's `A w' binding.
(spw/add-once-hook 'eww-after-render-hook #'eww-readable)
- (eww url))))))
+ (let ((saved gnus-summary-buffer))
+ (eww url)
+ (setq-local gnus-summary-buffer saved)))))))
(with-eval-after-load 'gnus-sum
(define-key gnus-summary-mode-map "vo" #'spw/gnus-reader))
+(spw/feature-define-keys eww "h" gnus-article-show-summary)
+
;; In a group with patches, try to expunge messages not relevant for reviewing
;; those patches. Optional numeric prefix argument specifies the version of
;; the series to review, in case there is more than one series in the summary