(mmexternal-require-buffer): Use `binary-insert-encoded-file' instead
authortomo <tomo>
Mon, 25 Dec 2000 04:24:20 +0000 (04:24 +0000)
committertomo <tomo>
Mon, 25 Dec 2000 04:24:20 +0000 (04:24 +0000)
of `binary-insert-file-contents'.
(mime-write-entity-body): Use `binary-write-decoded-region' instead of
`binary-write-region'.

mmexternal.el

index dde1406..aafddcc 100644 (file)
@@ -78,7 +78,7 @@
                                 (concat " *Body of "
                                         (mime-entity-name entity)
                                         "*"))
-            (binary-insert-file-contents
+            (binary-insert-encoded-file
              (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)
-    (binary-write-region (point-min) (point-max) filename)))
+    (binary-write-decoded-region (point-min) (point-max) filename)))
 
 
 ;;; @ entity content