update.
[elisp/semi.git] / mime-play.el
index 7e50479..a7326a0 100644 (file)
@@ -127,13 +127,6 @@ specified, play as it.  Default MODE is \"play\"."
        (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)
@@ -582,7 +575,7 @@ to write."
 ;;;
 
 (defvar mime-raw-dired-function
-  (if mime/use-multi-frame
+  (if (and (>= emacs-major-version 19) window-system)
       (function dired-other-frame)
     (function mime-raw-dired-function-for-one-frame)
     ))