diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-13 08:19:03 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-07-13 19:01:02 -0700 |
commit | b9adb7972cc1daea369a25f5f50964e18c47f115 (patch) | |
tree | 426e1efba41fed0b6e305fa89c9c0985bb8477c3 | |
parent | 02987e4e3993442f82b4ed1a4670a73eb62fb191 (diff) | |
download | dotfiles-b9adb7972cc1daea369a25f5f50964e18c47f115.tar.gz |
neater fix for M-g in notmuch nnselect summary buffers
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 310a41a4..0233b4bb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -2984,9 +2984,7 @@ mutt's review view, after exiting EDITOR." ;; not display any new mail. (defun spw/gnus-request-group-scan (group _info) (when (eq 'nnselect (car (gnus-find-method-for-group group))) - (with-current-buffer gnus-group-buffer - (gnus-group-jump-to-group "nnmaildir+fmail:inbox") - (gnus-group-get-new-news-this-group)))) + (gnus-activate-group "nnmaildir+fmail:inbox" 'scan))) (advice-add 'gnus-request-group-scan :before #'spw/gnus-request-group-scan) (defun spw/gnus-group-nnselect-query (group) |