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

index d8926ae..83fe265 100644 (file)
                  (mime-entity-point-max entity) filename)
     ))
 
+(defun mmcooked-write-entity-body (entity filename)
+  (save-excursion
+    (set-buffer (mime-entity-buffer entity))
+    (write-region (mime-entity-body-start entity)
+                 (mime-entity-body-end entity) filename)
+    ))
+
 
 ;;; @ end
 ;;;