From 7ee365ea5c860b4f375939347c91dc2836d39843 Mon Sep 17 00:00:00 2001 From: ueno Date: Thu, 11 Nov 1999 05:59:55 +0000 Subject: [PATCH] * mime-image.el (image-normalize): Use `write-region-as-binary'. --- mime-image.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mime-image.el b/mime-image.el index a6aa2eb..6ceb43f 100644 --- a/mime-image.el +++ b/mime-image.el @@ -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) ))) -- 1.7.10.4