From: tomo Date: Thu, 14 Dec 2000 06:43:35 +0000 (+0000) Subject: (mime-write-entity): Don't use `write-region-as-raw-text-CRLF'. X-Git-Tag: flim-1_14_0-pre5~14 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6903dbcbe029f9facef3e0610eefb4df0b9c09cb;p=elisp%2Fflim.git (mime-write-entity): Don't use `write-region-as-raw-text-CRLF'. --- 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