From: yoichi Date: Tue, 5 Nov 2002 05:07:53 +0000 (+0000) Subject: * mime-edit.el (mime-edit-decode-single-part-in-buffer): Decode text X-Git-Tag: semi-1_14_5~6 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2a174dfc97cf3588e6c8e9735fad472d83f6999;p=elisp%2Fsemi.git * mime-edit.el (mime-edit-decode-single-part-in-buffer): Decode text part only. --- diff --git a/ChangeLog b/ChangeLog index 0e404fe..a1fed22 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-03 Yoichi NAKAYAMA + + * mime-edit.el (mime-edit-decode-single-part-in-buffer): Decode text + part only. + 2002-04-16 Daiki Ueno * mime-edit.el (mime-file-types): Add setting of *.jpeg for image/jpeg. diff --git a/mime-edit.el b/mime-edit.el index 42e792e..1bd2e3d 100644 --- a/mime-edit.el +++ b/mime-edit.el @@ -2937,7 +2937,8 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n" (setq encoded t encoding nil) ))))))) - (if (or encoded (not not-decode-text)) + (if (and (eq type 'text) + (or encoded (not not-decode-text))) (progn (save-excursion (goto-char (point-min))