(mime-mc-gpg-process-region): Call the parser function with the 6th arg `nil'
authoryamaoka <yamaoka>
Tue, 14 Sep 1999 01:49:06 +0000 (01:49 +0000)
committeryamaoka <yamaoka>
Tue, 14 Sep 1999 01:49:06 +0000 (01:49 +0000)
if `mc-gpg-handle-pre095' is not bound.  It is supposed to be used with another
mc-gpg.el which is available from http://www.lothar.com/tech/crypto/.

mime-mc.el

index 22c7164..4782504 100644 (file)
@@ -410,7 +410,9 @@ optional argument COMMENT if it is specified."
          ;; feed the parser
          (condition-case err
              (setq parser-result
-                   (funcall parser mybuf stderr-buf status-buf rc)
+                   (if (boundp 'mc-gpg-handle-pre095)
+                       (funcall parser mybuf stderr-buf status-buf rc)
+                     (funcall parser mybuf stderr-buf status-buf rc nil))
                    )
            (error
             (message "%s" err)