(mmexternal-require-buffer): Use `binary-insert-file-contents' instead
authortomo <tomo>
Thu, 14 Dec 2000 07:20:39 +0000 (07:20 +0000)
committertomo <tomo>
Thu, 14 Dec 2000 07:20:39 +0000 (07:20 +0000)
of `insert-file-contents-as-binary'.
(mime-write-entity-body): Use `binary-write-region' instead of
`write-region-as-binary'.

mmexternal.el

index 9da0773..d68c164 100644 (file)
@@ -79,7 +79,7 @@
                                 (concat " *Body of "
                                         (mime-entity-name entity)
                                         "*"))
-            (insert-file-contents-as-binary
+            (binary-insert-file-contents
              (mime-external-entity-body-file-internal entity))
             (current-buffer))))
       (error (message "Can't get external-body.")))))
                                            filename)
   (mmexternal-require-buffer entity)
   (with-current-buffer (mime-external-entity-body-buffer-internal entity)
-    (write-region-as-binary (point-min) (point-max) filename)))
+    (binary-write-region (point-min) (point-max) filename)))
 
 
 ;;; @ entity content