* pgg-pgp5.el (pgg-scheme-verify-region): Copy the contents of
authorueno <ueno>
Mon, 21 Feb 2000 11:49:56 +0000 (11:49 +0000)
committerueno <ueno>
Mon, 21 Feb 2000 11:49:56 +0000 (11:49 +0000)
`pgg-errors-buffer' to `pgg-output-buffer'.

ChangeLog
pgg-pgp5.el

index 1606cac..fb579ed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-02  Nakagawa, Makoto  <Makoto.Nakagawa@jp.compaq.com>
+
+       * pgg-pgp5.el (pgg-scheme-verify-region): Copy the contents of
+       `pgg-errors-buffer' to `pgg-output-buffer'.
+
 2000-02-21   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
 
        * mime-pgp.el: When it is compiled, define `smime-output-buffer'
index b683d96..89aeda9 100644 (file)
@@ -216,7 +216,12 @@ Bourne shell or its equivalent \(not tcsh) is needed for \"2>\"."
     (if signature (delete-file signature))
     (with-current-buffer pgg-errors-buffer
       (goto-char (point-min))
-      (re-search-forward "^Good signature" nil t))))
+      (if (re-search-forward "^Good signature" nil t)
+         (progn
+           (set-buffer pgg-output-buffer)
+           (insert-buffer-substring pgg-errors-buffer)
+           t)
+       nil))))
 
 (luna-define-method pgg-scheme-insert-key ((scheme pgg-scheme-pgp5))
   (let* ((pgg-pgp5-user-id (or pgg-pgp5-user-id pgg-default-user-id))