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

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

[elpa] externals/autocrypt d771406544 28/94: Recognize mu4e modes in `au


From: ELPA Syncer
Subject: [elpa] externals/autocrypt d771406544 28/94: Recognize mu4e modes in `autocrypt-get-mua'
Date: Sun, 26 Mar 2023 07:57:58 -0400 (EDT)

branch: externals/autocrypt
commit d77140654405cabd007621606aca9beb512dff7a
Author: Erik L. Arneson <earneson@arnesonium.com>
Commit: Philip K <philip@warpmail.net>

    Recognize mu4e modes in `autocrypt-get-mua'
---
 autocrypt.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/autocrypt.el b/autocrypt.el
index 9019b15c66..e3a27135d2 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -162,7 +162,9 @@ The key should identify a record in the
     'rmail)
    ((derived-mode-p 'message-mode)
     'message)
-   (t (user-error "MUA not supported"))))
+   ((derived-mode-p 'mu4e-main-mode 'mu4e-view-mode)
+    'mu4e)
+   (t (user-error "MUA not supported: %s" major-mode))))
 
 (defsubst autocrypt-mua-func (msg)
   "Return function behind MSG for major mode."



reply via email to

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