From 7753d499001f3819a6e5be5ca2b72a664f7bdd3a Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 11 Nov 2006 08:00:54 +0000 Subject: [PATCH] (epg-start-sign): Don't set --armor nor --textmode if mode is set for a cleartext signaturee. --- ChangeLog | 5 +++++ epg.el | 3 +++ 2 files changed, 8 insertions(+) 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" -- 1.7.10.4