From ddd2e2451ec427efc2c9d7d7a5acf48d27575bf3 Mon Sep 17 00:00:00 2001 From: ueno Date: Tue, 18 Apr 2006 10:36:50 +0000 Subject: [PATCH] Fixed. --- pgg-epg.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pgg-epg.el b/pgg-epg.el index 1c8a133..e695b2a 100644 --- a/pgg-epg.el +++ b/pgg-epg.el @@ -92,10 +92,11 @@ passphrase cache or user." (epg-context-set-textmode context pgg-text-mode) (setq signature (epg-sign-string context (buffer-substring start end) (if cleartext - 'cleartext + 'clearsign 'detached))) (save-excursion (set-buffer (get-buffer-create pgg-output-buffer)) + (erase-buffer) (insert signature)) t)) -- 1.7.10.4