From: Ɓukasz Stelmach Date: Wed, 11 Apr 2018 22:09:41 +0000 (+0200) Subject: Rung new-news-hook from `M-g' in the Gnus summary buffer X-Git-Tag: emacs-27.0.90~5297 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25803b2887dadd452cb998396b3a6e4ca093dfd9;p=emacs.git Rung new-news-hook from `M-g' in the Gnus summary buffer * lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group): Run `gnus-after-getting-new-news-hook' when doing `M-g' in the summary buffer, too (bug#25892). This makes `M-g' in both group and summary buffers work more similar. Copyright-paperwork-exempt: yes --- diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 10d203408a1..e6081a41a5b 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -4120,6 +4120,7 @@ If DONT-SCAN is non-nil, scan non-activated groups as well." method (gnus-group-real-name group) active)) (gnus-group-update-group group nil t)) (gnus-error 3 "%s error: %s" group (gnus-status-message group)))) + (gnus-run-hooks 'gnus-after-getting-new-news-hook) (when beg (goto-char beg)) (when gnus-goto-next-group-when-activating