From 50c1dcbca9d988bc7a90948ea1e0ef6ce73f3964 Mon Sep 17 00:00:00 2001 From: morioka Date: Fri, 12 Jun 1998 16:44:22 +0000 Subject: [PATCH] (mime-activate-mailcap-method): Use `mime-entity-body-start'. --- mime-play.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mime-play.el b/mime-play.el index 8c72112..497a802 100644 --- a/mime-play.el +++ b/mime-play.el @@ -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 -- 1.7.10.4