Require `raw-io'.
authortomo <tomo>
Tue, 19 Dec 2000 06:26:40 +0000 (06:26 +0000)
committertomo <tomo>
Tue, 19 Dec 2000 06:26:40 +0000 (06:26 +0000)
(smime-process-region): Use `binary-start-process-shell-command'.

mime/smime.el

index afa46f8..a45d399 100644 (file)
@@ -39,6 +39,7 @@
 ;;; Code:
 
 (require 'path-util)
+(require 'raw-io)
 (eval-when-compile (require 'static))
 
 (defgroup smime ()
     (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)