[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/autocrypt dd400cbbdf 82/94: Prefer mu4e-view-rendered-h
From: |
ELPA Syncer |
Subject: |
[elpa] externals/autocrypt dd400cbbdf 82/94: Prefer mu4e-view-rendered-hook if bound |
Date: |
Sun, 26 Mar 2023 07:58:03 -0400 (EDT) |
branch: externals/autocrypt
commit dd400cbbdfa14e6127f29cf9b562a8948ff3fafd
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Prefer mu4e-view-rendered-hook if bound
Thanks to Thierry Volpiatto for notifying me to this change:
https://lists.sr.ht/~pkal/public-inbox/%3C875ye6bh0r.fsf%40posteo.net%3E
---
autocrypt-mu4e.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/autocrypt-mu4e.el b/autocrypt-mu4e.el
index cfa4e42f88..38af66fcb9 100644
--- a/autocrypt-mu4e.el
+++ b/autocrypt-mu4e.el
@@ -25,7 +25,10 @@
;;;###autocrypt
(defun autocrypt-mu4e--install ()
"Install autocrypt hooks for mu4e."
- (add-hook 'mu4e-view-mode-hook #'autocrypt-process-header nil t)
+ (add-hook (if (boundp 'mu4e-view-rendered-hook)
+ 'mu4e-view-rendered-hook
+ 'mu4e-view-mode-hook)
+ #'autocrypt-process-header nil t)
(add-hook 'mu4e-compose-mode-hook #'autocrypt-compose-setup nil t))
(defun autocrypt-mu4e--uninstall ()
- [elpa] externals/autocrypt 4824fb6e4b 29/94: Recognize Mu4e as MUA, (continued)
- [elpa] externals/autocrypt 4824fb6e4b 29/94: Recognize Mu4e as MUA, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 2f9f3ee4c6 31/94: Add major-mode indicator to autocrypt file, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 050d496716 32/94: Fix mu4e setup when composing new messages, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 1dc4e59833 56/94: Update public-inbox URL, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 32786dc552 68/94: Prevent signalling error when get-part is not defined, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 8fcf874d04 63/94: Add autocrypt-message--remove-header, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt b2c8d431f8 69/94: Fix assoc usage, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 00b87a82c4 75/94: Change maintainer address to public inbox, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 599d5f3f5d 78/94: Further improve robustness of autocrypt-process-header, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 5fae83ac05 80/94: Inline autocrypt-find-function, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt dd400cbbdf 82/94: Prefer mu4e-view-rendered-hook if bound,
ELPA Syncer <=
- [elpa] externals/autocrypt 70f36f6e47 84/94: Run M-x repunctuate-sentences on README, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt d8e34fc3eb 88/94: Fold 'defalias' definitions for the MUA generic functions, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 0e237a29c4 30/94: Save autocrypt accounts in autocrypt file, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt cc694e541b 35/94: Let autocrypt-mode-hooks return nil by default, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 7cd50d277d 39/94: Remove default implementation for autocrypt-mode-hooks, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 73764377c5 43/94: Fix autocrypt-message, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 82b9a9eaa2 44/94: Fix autocrypt-mu4e, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt c1ce4d7446 53/94: Use eql specializers instead of derived-mode specializers, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 5c7f4cfabf 58/94: Update headers, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 75a0b62adb 64/94: Rename autocrypt-message--encrypted-p, ELPA Syncer, 2023/03/26