From 6903dbcbe029f9facef3e0610eefb4df0b9c09cb Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 14 Dec 2000 06:43:35 +0000 Subject: [PATCH] (mime-write-entity): Don't use `write-region-as-raw-text-CRLF'. --- mmbuffer.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mmbuffer.el b/mmbuffer.el index 6a7803a..09273b9 100644 --- a/mmbuffer.el +++ b/mmbuffer.el @@ -96,11 +96,10 @@ (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 -- 1.7.10.4