+1998-05-25 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * mime-play.el (mime-raw-play-entity): Abolish point correcting
+ procedures for VM.
+
+ * mime-play.el (mime-preview-play-current-entity): Do widen befor
+ playing the entity.
+
+\f
1998-05-21 MORIOKA Tomohiko <morioka@jaist.ac.jp>
* WEMI: Version 1.4.5 (Ninomiya) released.
(raw-buffer (get-text-property (point) 'mime-view-raw-buffer)))
(setq mime-preview-after-decoded-position (point))
(set-buffer raw-buffer)
- (mime-raw-play-entity entity-info mode)
+ (save-restriction
+ (widen)
+ (mime-raw-play-entity entity-info mode))
(when (eq (current-buffer) raw-buffer)
(set-buffer the-buf)
(goto-char mime-preview-after-decoded-position)
(encoding (mime-entity-encoding entity-info)))
(or content-type
(setq content-type (make-mime-content-type 'text 'plain)))
- ;; Check for VM
- (if (< beg (point-min))
- (setq beg (point-min))
- )
- (if (< (point-max) end)
- (setq end (point-max))
- )
(let (method cal ret)
(setq cal (list* (cons 'major-mode major-mode)
(cons 'encoding encoding)