* mime-image.el (image-normalize): Use `write-region-as-binary'.
authorueno <ueno>
Thu, 11 Nov 1999 05:59:55 +0000 (05:59 +0000)
committerueno <ueno>
Thu, 11 Nov 1999 05:59:55 +0000 (05:59 +0000)
mime-image.el

index a6aa2eb..6ceb43f 100644 (file)
@@ -87,9 +87,8 @@
             (make-temp-name 
              (expand-file-name "tm" temporary-file-directory))))
        (with-temp-buffer
-         (set-buffer-multibyte nil)
          (insert data)
-         (write-region (point-min)(point-max) image-file))
+         (write-region-as-binary (point-min)(point-max) image-file))
        (list 'image ':type format ':file image-file)
        )))