From: tomo Date: Mon, 25 Dec 2000 04:24:20 +0000 (+0000) Subject: (mmexternal-require-buffer): Use `binary-insert-encoded-file' instead X-Git-Tag: flim-1_14-rfc2231-base~10 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f5a17d554116ca55b57245a440f8ede072777fe;p=elisp%2Fflim.git (mmexternal-require-buffer): Use `binary-insert-encoded-file' instead of `binary-insert-file-contents'. (mime-write-entity-body): Use `binary-write-decoded-region' instead of `binary-write-region'. --- diff --git a/mmexternal.el b/mmexternal.el index dde1406..aafddcc 100644 --- a/mmexternal.el +++ b/mmexternal.el @@ -78,7 +78,7 @@ (concat " *Body of " (mime-entity-name entity) "*")) - (binary-insert-file-contents + (binary-insert-encoded-file (mime-external-entity-body-file-internal entity)) (current-buffer)))) (error (message "Can't get external-body."))))) @@ -120,7 +120,7 @@ filename) (mmexternal-require-buffer entity) (with-current-buffer (mime-external-entity-body-buffer-internal entity) - (binary-write-region (point-min) (point-max) filename))) + (binary-write-decoded-region (point-min) (point-max) filename))) ;;; @ entity content