tm 7.45.
[elisp/tm.git] / tm-play.el
index d4e092e..9d6e8f5 100644 (file)
@@ -8,7 +8,7 @@
 ;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
 ;;; Created: 1995/9/26 (separated from tm-view.el)
 ;;; Version:
-;;;    $Id: tm-play.el,v 7.12 1996/01/25 08:29:22 morioka Exp $
+;;;    $Id: tm-play.el,v 7.14 1996/02/05 05:00:27 morioka Exp $
 ;;; Keywords: mail, news, MIME, multimedia
 ;;;
 ;;; This file is part of tm (Tools for MIME).
        (params (mime::content-info/parameters cinfo))
        (encoding (mime::content-info/encoding cinfo))
        )
+    ;; Check for VM
+    (if (< beg (point-min))
+       (setq beg (point-min))
+      )
+    (if (< (point-max) end)
+       (setq end (point-max))
+      )
     (if ctype
        (let (method cal ret)
          (setq cal (append (list (cons 'type ctype)
                    (substring ret (match-beginning 0)(match-end 0))
                  ))
            ))
-      ""))
+      ))
 
 (defun mime-article/get-filename (param)
   (replace-as-filename (mime-article/get-original-filename param))