From 310f35c816e303d1b64be304ed0f1a6e453198fd Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 30 Jun 1998 13:22:28 +0000 Subject: [PATCH] (mmcooked-write-entity): New function. --- mmcooked.el | 7 +++++++ 1 file changed, 7 insertions(+) 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 ;;; -- 1.7.10.4