2002-10-01 Simon Josefsson <jas@extundo.com>
+ * pgg-pgp5.el (pgg-pgp5-process-region): Don't use binary-funcall.
+
* pgg-gpg.el (pgg-gpg-process-region): Use expand-file-name
instead of concat.
(setenv "PGPPASSFD" "0"))
(unwind-protect
(progn
- (setq process
- (apply #'binary-funcall
- #'start-process-shell-command "*PGP*" output-buffer
- program args))
+ (let ((coding-system-for-read 'binary)
+ (coding-system-for-write 'binary))
+ (setq process
+ (apply #'funcall
+ #'start-process-shell-command "*PGP*" output-buffer
+ program args)))
(set-process-sentinel process #'ignore)
(when passphrase
(process-send-string process (concat passphrase "\n")))