1998-07-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+ * mime-play.el (mime-preview-play-current-entity): Fix problem
+ when `mode' is omitted with non-interactive mode (maybe for button
+ dispatcher).
+
+\f
+1998-07-06 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+
* REMI: Version 1.8.1 (Fushiki) released.
1998-07-05 MORIOKA Tomohiko <morioka@jaist.ac.jp>
It decodes current entity to call internal or external method. The
method is selected from variable `mime-acting-condition'.
If MODE is specified, play as it. Default MODE is \"play\"."
- (interactive (list "play"))
+ (interactive)
(let ((entity (get-text-property (point) 'mime-view-entity)))
(if entity
(let ((the-buf (current-buffer))
(raw-buffer (mime-entity-buffer entity)))
(setq mime-preview-after-decoded-position (point))
(set-buffer raw-buffer)
- (mime-raw-play-entity entity mode)
+ (mime-raw-play-entity entity (or mode "play"))
(when (eq (current-buffer) raw-buffer)
(set-buffer the-buf)
(goto-char mime-preview-after-decoded-position)