* pgg-gpg.el, pgg-pgp.el, pgg-pgp5.el (snarf-keys-region):
authorueno <ueno>
Fri, 5 Nov 1999 14:01:10 +0000 (14:01 +0000)
committerueno <ueno>
Fri, 5 Nov 1999 14:01:10 +0000 (14:01 +0000)
Use `pgg-process-when-success'.

pgg-gpg.el
pgg-pgp.el
pgg-pgp5.el

index fc17c07..edb8706 100644 (file)
                "\tSecret keys are imported.\n")))
     (append-to-buffer pgg-output-buffer
                      (point-min)(point-max))
-    (with-current-buffer pgg-output-buffer
-      (if (zerop (buffer-size)) nil t))
+    (pgg-process-when-success nil)
     ))
 
 (provide 'pgg-gpg)
index 7fe332d..927c0b5 100644 (file)
     (pgg-pgp-process-region start end nil
                            pgg-pgp-program args)
     (delete-file key-file)
+    (pgg-process-when-success nil)
     ))
 
 (provide 'pgg-pgp)
index 49f1815..e4d4136 100644 (file)
     (pgg-pgp5-process-region start end nil
                             pgg-pgp5-pgpk-program args)
     (delete-file key-file)
+    (pgg-process-when-success nil)
     ))
 
 (provide 'pgg-pgp5)