+2002-11-03 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * mime-edit.el (mime-edit-decode-single-part-in-buffer): Decode text
+ part only.
+
+2002-04-16 Daiki Ueno <ueno@unixuser.org>
+
+ * mime-edit.el (mime-file-types): Add setting of *.jpeg for image/jpeg.
+
2002-10-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
* mime-view.el (mime-preview-find-boundary-info): Fix logic. Do not
;; Pure binary
- ("\\.jpg$"
+ ("\\.jpg$\\|\\.jpeg$"
"image" "jpeg" nil
"base64"
"inline" (("filename" . file))
(setq encoded t
encoding nil)
)))))))
- (if (or encoded (not not-decode-text))
- (progn
- (save-excursion
- (goto-char (point-min))
- (while (re-search-forward "\r\n" nil t)
- (replace-match "\n")
- ))
- (decode-mime-charset-region (point-min)(point-max)
- (or charset default-mime-charset))
+ (if (and (eq type 'text)
+ (or encoded (not not-decode-text)))
+ (progn
+ (save-excursion
+ (goto-char (point-min))
+ (while (re-search-forward "\r\n" nil t)
+ (replace-match "\n")
+ ))
+ (decode-mime-charset-region (point-min)(point-max)
+ (or charset default-mime-charset))
))
(let ((he (if (re-search-forward "^$" nil t)
(match-end 0)