(mime-insert-encoded-file of "7bit"): Use
authortomo <tomo>
Thu, 14 Dec 2000 07:11:52 +0000 (07:11 +0000)
committertomo <tomo>
Thu, 14 Dec 2000 07:11:52 +0000 (07:11 +0000)
`binary-insert-file-contents' instead of
`insert-file-contents-as-binary'.
(mime-write-decoded-region of "7bit"): Use `binary-write-region'
instead of `write-region-as-binary'.

mel.el

diff --git a/mel.el b/mel.el
index 12fff86..d1cb951 100644 (file)
--- a/mel.el
+++ b/mel.el
@@ -87,10 +87,10 @@ Content-Transfer-Encoding for it."
 (mel-define-method mime-encode-region (start end (nil "7bit")))
 (mel-define-method mime-decode-region (start end (nil "7bit")))
 (mel-define-method-function (mime-insert-encoded-file filename (nil "7bit"))
-                           'insert-file-contents-as-binary)
+                           'binary-insert-file-contents)
 (mel-define-method-function (mime-write-decoded-region
                             start end filename (nil "7bit"))
-                           'write-region-as-binary)
+                           'binary-write-region)
 
 (mel-define-backend "8bit" ("7bit"))