bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a


From: Lars Ingebrigtsen
Subject: bug#25892: [PATCH] Run gnus-after-getting-new-news-hook after scanning a single group
Date: Thu, 12 Apr 2018 00:09:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Ɓukasz Stelmach <address@hidden> writes:

> * lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group):
> Run gnus-after-getting-new-news-hook after scanning selected groups.
> ---
>  lisp/gnus/gnus-group.el | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
> index 2488cdb..72a4870 100644
> --- a/lisp/gnus/gnus-group.el
> +++ b/lisp/gnus/gnus-group.el
> @@ -4093,6 +4093,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

Thanks; applied to Emacs 27.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]