From: ueno Date: Wed, 12 Apr 2006 08:06:27 +0000 (+0000) Subject: Renamed epg-*-start to epg-start-* to avoid confusion in completion. X-Git-Tag: epgsm-branchpoint~117 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c4184f53c2a1a31ab12d0c82c6ccb19c336b663c;p=elisp%2Fepg.git Renamed epg-*-start to epg-start-* to avoid confusion in completion. --- diff --git a/epg.el b/epg.el index 6a3401d..26d94b7 100644 --- a/epg.el +++ b/epg.el @@ -572,7 +572,7 @@ You can then use `write-region' to write new data into the file." (delete-directory tempdir)))))) ;;;###autoload -(defun epg-decrypt-start (context input-file) +(defun epg-start-decrypt (context input-file) "Initiate a decrypt operation on INPUT-FILE. If you use this function, you will need to wait for the completion of @@ -590,7 +590,7 @@ If you are unsure, use synchronous version of this function "Decrypt INPUT-FILE and return the plain text." (unwind-protect (progn - (epg-decrypt-start context input-file) + (epg-start-decrypt context input-file) (epg-wait-for-completion context) (if (epg-context-result-for context 'error) (error "Decryption failed")) @@ -610,7 +610,7 @@ If you are unsure, use synchronous version of this function (delete-file input-file))))) ;;;###autoload -(defun epg-verify-start (context signature &optional string) +(defun epg-start-verify (context signature &optional string) "Initiate a verify operation on SIGNATURE. For a detached signature, both SIGNATURE and STRING should be string. @@ -647,7 +647,7 @@ For a normal or a clear text signature, STRING should be nil." (progn (if string (write-region signature nil input-file)) - (epg-verify-start context input-file string) + (epg-start-verify context input-file string) (epg-wait-for-completion context) (epg-context-result-for context 'verify)) (epg-reset context) @@ -655,7 +655,7 @@ For a normal or a clear text signature, STRING should be nil." (delete-file input-file))))) ;;;###autoload -(defun epg-sign-start (context string &optional mode) +(defun epg-start-sign (context string &optional mode) "Initiate a sign operation on STRING. If optional 3rd argument MODE is 'clearsign, it makes a clear text signature. @@ -690,7 +690,7 @@ If MODE is t or 'detached, it makes a detached signature. Otherwise, it makes a normal signature." (unwind-protect (progn - (epg-sign-start context string mode) + (epg-start-sign context string mode) (epg-wait-for-completion context) (if (epg-context-result-for context 'error) (error "Sign failed")) @@ -698,7 +698,7 @@ Otherwise, it makes a normal signature." (epg-reset context))) ;;;###autoload -(defun epg-encrypt-start (context string recipients +(defun epg-start-encrypt (context string recipients &optional sign always-trust) "Initiate a encrypt operation on STRING. If RECIPIENTS is nil, it performs symmetric encryption. @@ -736,7 +736,7 @@ If you are unsure, use synchronous version of this function If RECIPIENTS is nil, it performs symmetric encryption." (unwind-protect (progn - (epg-encrypt-start context string recipients sign always-trust) + (epg-start-encrypt context string recipients sign always-trust) (epg-wait-for-completion context) (if (epg-context-result-for context 'error) (error "Encrypt failed"))