(mmbuffer-write-entity-body): New function.
authormorioka <morioka>
Tue, 30 Jun 1998 14:02:24 +0000 (14:02 +0000)
committermorioka <morioka>
Tue, 30 Jun 1998 14:02:24 +0000 (14:02 +0000)
mmbuffer.el

index bf6a88e..4fa9628 100644 (file)
                            (mime-entity-point-max entity) filename)
     ))
 
+(defun mmbuffer-write-entity-body (entity filename)
+  (save-excursion
+    (set-buffer (mime-entity-buffer entity))
+    (write-region-as-binary (mime-entity-body-start entity)
+                           (mime-entity-body-end entity) filename)
+    ))
+
 
 ;;; @ end
 ;;;