(mime-write-entity): Don't use `write-region-as-raw-text-CRLF'.
authortomo <tomo>
Thu, 14 Dec 2000 06:43:35 +0000 (06:43 +0000)
committertomo <tomo>
Thu, 14 Dec 2000 06:43:35 +0000 (06:43 +0000)
mmbuffer.el

index 6a7803a..09273b9 100644 (file)
 (luna-define-method mime-write-entity ((entity mime-buffer-entity) filename)
   (save-excursion
     (set-buffer (mime-buffer-entity-buffer-internal entity))
-    (write-region-as-raw-text-CRLF
-     (mime-buffer-entity-header-start-internal entity)
-     (mime-buffer-entity-body-end-internal entity)
-     filename)
-    ))
+    (let ((coding-system-for-write 'raw-text-dos))
+      (write-region (mime-buffer-entity-header-start-internal entity)
+                   (mime-buffer-entity-body-end-internal entity)
+                   filename))))
 
 
 ;;; @ entity header