(mime-activate-mailcap-method): Use `mime-entity-body-start'.
authormorioka <morioka>
Fri, 12 Jun 1998 16:44:22 +0000 (16:44 +0000)
committermorioka <morioka>
Fri, 12 Jun 1998 16:44:22 +0000 (16:44 +0000)
mime-play.el

index 8c72112..497a802 100644 (file)
@@ -204,11 +204,8 @@ specified, play as it.  Default MODE is \"play\"."
        (let ((method (cdr (assoc 'method situation)))
              (name (expand-file-name (mime-raw-get-filename situation)
                                      mime-temp-directory)))
-         (mime-write-decoded-region (if (re-search-forward "^$" end t)
-                                        (1+ (match-end 0))
-                                      (point-min))
-                                    end name
-                                    (cdr (assq 'encoding situation)))
+         (mime-write-decoded-region (mime-entity-body-start entity) end
+                                    name (cdr (assq 'encoding situation)))
          (message "External method is starting...")
          (let ((process
                 (let ((command