X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=pgg-pgp5.el;h=e774ae4791ae7f3a26e9a856c10dde2dfeee74eb;hb=a615cd472b7081878eca9760cb07f2a403abdb51;hp=e8dedefd2a8b9bf3b0d3199578b97cef00bb7eea;hpb=3825ab9242cb8aaa5e6d5dbbae37e526564a09aa;p=elisp%2Fsemi.git diff --git a/pgg-pgp5.el b/pgg-pgp5.el index e8dedef..e774ae4 100644 --- a/pgg-pgp5.el +++ b/pgg-pgp5.el @@ -25,6 +25,7 @@ ;;; Code: +(require 'mel) ; binary-to-text-funcall, binary-write-decoded-region (eval-when-compile (require 'pgg)) (defgroup pgg-pgp5 () @@ -104,8 +105,8 @@ Bourne shell or its equivalent \(not tcsh) is needed for \"2>\"." (unwind-protect (progn (setq process - (apply #'binary-start-process-shell-command "*PGP*" - output-buffer + (apply #'binary-funcall + #'start-process-shell-command "*PGP*" output-buffer program args)) (set-process-sentinel process #'ignore) (when passphrase @@ -210,7 +211,7 @@ Bourne shell or its equivalent \(not tcsh) is needed for \"2>\"." (unwind-protect (progn (set-default-file-modes 448) - (binary-write-region start end orig-file)) + (binary-write-decoded-region start end orig-file)) (set-default-file-modes orig-mode)) (when (stringp signature) (copy-file signature (setq signature (concat orig-file ".asc")))