(mmbuffer-write-entity): New function.
authormorioka <morioka>
Tue, 30 Jun 1998 13:21:51 +0000 (13:21 +0000)
committermorioka <morioka>
Tue, 30 Jun 1998 13:21:51 +0000 (13:21 +0000)
mmbuffer.el

index 483a696..bf6a88e 100644 (file)
                               (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
 ;;;