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

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

[elpa] externals/autocrypt d8e34fc3eb 88/94: Fold 'defalias' definitions


From: ELPA Syncer
Subject: [elpa] externals/autocrypt d8e34fc3eb 88/94: Fold 'defalias' definitions for the MUA generic functions
Date: Sun, 26 Mar 2023 07:58:03 -0400 (EDT)

branch: externals/autocrypt
commit d8e34fc3ebc3a74b48e312841829b32dbb57da17
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fold 'defalias' definitions for the MUA generic functions
---
 autocrypt.el | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git a/autocrypt.el b/autocrypt.el
index fbc0d6fe78..9fe19aa5e2 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -155,7 +155,8 @@ be found."
     (set-advertised-calling-convention fn signature nil)
     fn))
 
-(defalias 'autocrypt-install (autocrypt-make-function 'install '())
+(defalias 'autocrypt-install
+  (autocrypt-make-function 'install '())
   "Install necessary autocrypt functions into the MUA.
 A mail reader (Gnus, Rmail, ...) should only needs to implement
 `get-header' and optionally `get-part'.  A
@@ -167,7 +168,8 @@ This is a generic function and the behaviour varies 
depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-uninstall (autocrypt-make-function 'uninstall '())
+(defalias 'autocrypt-uninstall
+  (autocrypt-make-function 'uninstall '())
   "Remove all modifications by autocrypt.
 This should reverse the effect of `autocrypt-install'.
 
@@ -175,43 +177,50 @@ This is a generic function and the behaviour varies 
depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-get-header (autocrypt-make-function 'get-header '(header))
+(defalias 'autocrypt-get-header
+  (autocrypt-make-function 'get-header '(header))
   "Return the value of HEADER.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-add-header (autocrypt-make-function 'add-header '(header 
value))
+(defalias 'autocrypt-add-header
+  (autocrypt-make-function 'add-header '(header value))
   "Insert HEADER with VALUE into message.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-remove-header (autocrypt-make-function 'remove-header 
'(header))
+(defalias 'autocrypt-remove-header
+  (autocrypt-make-function 'remove-header '(header))
   "Remove HEADER from message.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-sign-encrypt (autocrypt-make-function 'sign-encrypt '())
+(defalias 'autocrypt-sign-encrypt
+  (autocrypt-make-function 'sign-encrypt '())
   "Make the message to be signed and encrypted.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-secure-attach (autocrypt-make-function 'secure-attach 
'(payload))
+(defalias 'autocrypt-secure-attach
+  (autocrypt-make-function 'secure-attach '(payload))
   "Add PAYLOAD as an encrypted attachment.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-encrypted-p (autocrypt-make-function 'encrypted-p '())
+(defalias 'autocrypt-encrypted-p
+  (autocrypt-make-function 'encrypted-p '())
   "Check the the current message is encrypted.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and
 `autocrypt-make-function' for more details.")
 
-(defalias 'autocrypt-get-part (autocrypt-make-function 'get-part '(index) 'n/a)
+(defalias 'autocrypt-get-part
+  (autocrypt-make-function 'get-part '(index) 'n/a)
   "Return the INDEX'th part of the current message.
 This is a generic function and the behaviour varies depending on
 the buffer it is being invoked in.  See `autocrypt-backends' and



reply via email to

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