(or mime-view-redisplay
(setq mime-raw-message-info (mime-parse-message ctl encoding))
)
- (let* ((message-info mime-raw-message-info)
- (pcl (mime-raw-flatten-message-info message-info))
- (the-buf (current-buffer))
- (mode major-mode)
- )
+ (let ((message-info mime-raw-message-info)
+ (the-buf (current-buffer))
+ (mode major-mode))
(or obuf
(setq obuf (concat "*Preview-" (buffer-name the-buf) "*")))
(set-buffer (get-buffer-create obuf))
(setq mime-preview-original-major-mode mode)
(setq major-mode 'mime-view-mode)
(setq mode-name "MIME-View")
- (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