From 2df95ba1c1c8cba2a36ff0f331e8a2ba8217b029 Mon Sep 17 00:00:00 2001 From: morioka Date: Tue, 30 Jun 1998 13:21:51 +0000 Subject: [PATCH] (mmbuffer-write-entity): New function. --- mmbuffer.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mmbuffer.el b/mmbuffer.el index 483a696..bf6a88e 100644 --- a/mmbuffer.el +++ b/mmbuffer.el @@ -66,6 +66,13 @@ (or (mime-entity-encoding entity) "7bit")) )) +(defun mmbuffer-write-entity (entity filename) + (save-excursion + (set-buffer (mime-entity-buffer entity)) + (write-region-as-binary (mime-entity-point-min entity) + (mime-entity-point-max entity) filename) + )) + ;;; @ end ;;; -- 1.7.10.4