branch: externals/autocrypt
commit ff87f73f00689689f023e39f4cee2fd97caf458b
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>

    Install process-header into gnus-select-article-hook
---
 autocrypt-gnus.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autocrypt-gnus.el b/autocrypt-gnus.el
index 072ad27972..ffce813e62 100644
--- a/autocrypt-gnus.el
+++ b/autocrypt-gnus.el
@@ -24,7 +24,7 @@
 ;;;###autoload
 (defun autocrypt-gnus--install ()
   "Prepare autocrypt for Gnus."
-  (add-hook 'gnus-article-prepare-hook #'autocrypt-process-header nil t))
+  (add-hook 'gnus-select-article-hook #'autocrypt-process-header nil t))
 
 (defun autocrypt-gnus--uninstall ()
   "Undo `autocrypt-gnus--install'."

Reply via email to