From: morioka Date: Tue, 30 Jun 1998 13:22:28 +0000 (+0000) Subject: (mmcooked-write-entity): New function. X-Git-Tag: flim-1_8_0~21 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=310f35c816e303d1b64be304ed0f1a6e453198fd;p=elisp%2Fflim.git (mmcooked-write-entity): New function. --- diff --git a/mmcooked.el b/mmcooked.el index ad3653a..d8926ae 100644 --- a/mmcooked.el +++ b/mmcooked.el @@ -50,6 +50,13 @@ filename encoding) )))) +(defun mmcooked-write-entity (entity filename) + (save-excursion + (set-buffer (mime-entity-buffer entity)) + (write-region (mime-entity-point-min entity) + (mime-entity-point-max entity) filename) + )) + ;;; @ end ;;;