From: tomo Date: Tue, 19 Dec 2000 06:26:40 +0000 (+0000) Subject: Require `raw-io'. X-Git-Tag: semi21-1_14_0-1~8 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70251fb18d54377d43f7dd4b704378553dec51bf;p=elisp%2Flemi.git Require `raw-io'. (smime-process-region): Use `binary-start-process-shell-command'. --- diff --git a/mime/smime.el b/mime/smime.el index afa46f8..a45d399 100644 --- a/mime/smime.el +++ b/mime/smime.el @@ -39,6 +39,7 @@ ;;; Code: (require 'path-util) +(require 'raw-io) (eval-when-compile (require 'static)) (defgroup smime () @@ -202,11 +203,9 @@ (with-current-buffer (get-buffer-create smime-output-buffer) (buffer-disable-undo) (erase-buffer)) - (let ((coding-system-for-read 'binary) - (coding-system-for-write 'binary)) - (setq process - (apply #'start-process-shell-command "*S/MIME*" - smime-output-buffer program args))) + (setq process + (apply #'binary-start-process-shell-command "*S/MIME*" + smime-output-buffer program args)) (set-process-sentinel process 'ignore) (process-send-region process start end) (process-send-eof process)