branch: externals/gnorb
commit 42ba9d979eda7ac0894042dd7ff843602b6bff1c
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
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