From: ueno Date: Tue, 18 Apr 2006 10:36:50 +0000 (+0000) Subject: Fixed. X-Git-Tag: epgsm-branchpoint~29 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ddd2e2451ec427efc2c9d7d7a5acf48d27575bf3;p=elisp%2Fepg.git Fixed. --- 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))