From: ueno Date: Sat, 11 Nov 2006 08:00:54 +0000 (+0000) Subject: (epg-start-sign): Don't set --armor nor --textmode if X-Git-Tag: epg-0_0_8~40 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7753d499001f3819a6e5be5ca2b72a664f7bdd3a;p=elisp%2Fepg.git (epg-start-sign): Don't set --armor nor --textmode if mode is set for a cleartext signaturee. --- diff --git a/ChangeLog b/ChangeLog index a2c89c9..5b262ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-11-11 Daiki Ueno + + * epg.el (epg-start-sign): Don't set --armor nor --textmode if + mode is set for a cleartext signaturee. + 2006-10-29 Daiki Ueno * EasyPG: Version 0.0.7 released. diff --git a/epg.el b/epg.el index dc54370..e7e4616 100644 --- a/epg.el +++ b/epg.el @@ -1679,6 +1679,9 @@ If you are unsure, use synchronous version of this function `epg-sign-file' or `epg-sign-string' instead." (epg-context-set-operation context 'sign) (epg-context-set-result context nil) + (unless (memq mode '(t detached nil normal)) + (epg-context-set-armor context nil) + (epg-context-set-textmode context nil)) (epg--start context (append (list (if (memq mode '(t detached)) "--detach-sign"