(setq mime-preview-original-major-mode mode)
(setq major-mode 'mime-view-mode)
(setq mode-name "MIME-View")
- (let ((pcl (mime-raw-flatten-message-info message-info)))
- (while pcl
- (mime-view-display-entity (car pcl) message-info the-buf obuf)
- (setq pcl (cdr pcl))
- ))
+ (mime-view-display-entity message-info message-info the-buf obuf)
(set-buffer-modified-p nil)
)
(setq buffer-read-only t)
(put-text-property nb ne 'mime-view-raw-buffer ibuf)
(put-text-property nb ne 'mime-view-entity entity)
(goto-char ne)
- ))
+ (let ((children (mime-entity-children entity)))
+ (while children
+ (mime-view-display-entity (car children) message-info ibuf obuf)
+ (setq children (cdr children))
+ ))))
(defun mime-raw-get-uu-filename (param &optional encoding)
(if (member (or encoding