From: morioka Date: Tue, 30 Jun 1998 14:02:57 +0000 (+0000) Subject: (mmcooked-write-entity-body): New function. X-Git-Tag: flim-1_8_0~17 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddbde94a8f9a4eb18b740c7140ca187a0fe63edc;p=elisp%2Fflim.git (mmcooked-write-entity-body): New function. --- diff --git a/mmcooked.el b/mmcooked.el index d8926ae..83fe265 100644 --- a/mmcooked.el +++ b/mmcooked.el @@ -57,6 +57,13 @@ (mime-entity-point-max entity) filename) )) +(defun mmcooked-write-entity-body (entity filename) + (save-excursion + (set-buffer (mime-entity-buffer entity)) + (write-region (mime-entity-body-start entity) + (mime-entity-body-end entity) filename) + )) + ;;; @ end ;;;