emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnorb 42ba9d9 347/449: Change the gnus hook to use for


From: Stefan Monnier
Subject: [elpa] externals/gnorb 42ba9d9 347/449: Change the gnus hook to use for hinting
Date: Fri, 27 Nov 2020 23:16:09 -0500 (EST)

branch: externals/gnorb
commit 42ba9d979eda7ac0894042dd7ff843602b6bff1c
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    Change the gnus hook to use for hinting
    
    * gnorb-gnus.el: Put `gnorb-gnus-hint-relevant-message' on the
      `gnus-select-article-hook', rather than `gnus-article-prepare-hook'.
      For some reason, the latter has suddenly stopped -- point is in the
      article buffer, and can't return the headers. The select article
      hook is probably the right one to use, anyway.
---
 gnorb-gnus.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnorb-gnus.el b/gnorb-gnus.el
index e425ca2..3b045da 100644
--- a/gnorb-gnus.el
+++ b/gnorb-gnus.el
@@ -744,7 +744,7 @@ option `gnorb-gnus-hint-relevant-article' is non-nil."
                        "M-x gnorb-gnus-incoming-do-todo")))
            (t nil)))))
 
-(add-hook 'gnus-article-prepare-hook 'gnorb-gnus-hint-relevant-message)
+(add-hook 'gnus-select-article-hook 'gnorb-gnus-hint-relevant-message)
 
 (defun gnorb-gnus-insert-format-letter-maybe (header)
   (if (not (memq (car (gnus-find-method-for-group



reply via email to

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