From 1f55268b5077de3b1399d33a0d65d23df2d53f73 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 29 Jun 1998 00:54:50 +0000 Subject: [PATCH] (mime-save-content): Use `mime-write-entity-content'. --- mime-play.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mime-play.el b/mime-play.el index d9ff14d..344b9da 100644 --- a/mime-play.el +++ b/mime-play.el @@ -313,7 +313,6 @@ window.") (defun mime-save-content (entity situation) (let* ((name (mime-entity-safe-filename entity)) - (encoding (or (mime-entity-encoding entity) "7bit")) (filename (if (and name (not (string-equal name ""))) (expand-file-name name (save-window-excursion @@ -332,9 +331,7 @@ window.") (if (file-exists-p filename) (or (yes-or-no-p (format "File %s exists. Save anyway? " filename)) (error ""))) - (mime-write-decoded-region (mime-entity-body-start entity) - (mime-entity-body-end entity) - filename encoding) + (mime-write-entity-content entity filename) )) -- 1.7.10.4