From: tomo Date: Tue, 19 Dec 2000 06:22:28 +0000 (+0000) Subject: (pgg-gpg-process-region): Use `binary-start-process'. X-Git-Tag: semi21-1_14_0-1~13 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1d4996a1ef8fbcbfcefd693b5dfa387f3b6fde8f;p=elisp%2Flemi.git (pgg-gpg-process-region): Use `binary-start-process'. --- diff --git a/mime/pgg-gpg.el b/mime/pgg-gpg.el index dfd9ca7..8080bd7 100644 --- a/mime/pgg-gpg.el +++ b/mime/pgg-gpg.el @@ -74,10 +74,9 @@ (unwind-protect (progn (set-default-file-modes 448) - (let ((coding-system-for-write 'binary)) - (setq process - (apply #'start-process "*GnuPG*" errors-buffer - program args))) + (setq process + (apply #'binary-start-process "*GnuPG*" errors-buffer + program args)) (set-process-sentinel process #'ignore) (when passphrase (process-send-string process (concat passphrase "\n")))