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

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

[elpa] externals/autocrypt 73764377c5 43/94: Fix autocrypt-message


From: ELPA Syncer
Subject: [elpa] externals/autocrypt 73764377c5 43/94: Fix autocrypt-message
Date: Sun, 26 Mar 2023 07:57:59 -0400 (EDT)

branch: externals/autocrypt
commit 73764377c515d66c116b1d9d42c193a889033aa4
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Fix autocrypt-message
---
 autocrypt-message.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/autocrypt-message.el b/autocrypt-message.el
index 51726231ae..65445e4737 100644
--- a/autocrypt-message.el
+++ b/autocrypt-message.el
@@ -22,12 +22,16 @@
 
 ;;; Code:
 
-(require 'autocrypt "autocrypt")
 (require 'message)
 
 ;;;###autoload
+(cl-defmethod autocrypt-load-system ((_mode (derived-mode message-mode)))
+  "Load this module."
+  (require 'autocrypt-message))
+
 (cl-defmethod autocrypt-install ((_mode (derived-mode message-mode)))
   "Install autocrypt hooks for message mode."
+  (require 'autocrypt-message)
   (add-hook 'message-setup-hook #'autocrypt-compose-setup)
   (add-hook 'message-send-hook #'autocrypt-compose-pre-send)
   (unless (lookup-key message-mode-map (kbd "C-c RET C-a"))



reply via email to

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