(mime-activate-mailcap-method): Check filename is null string.
authormorioka <morioka>
Fri, 3 Jul 1998 15:26:41 +0000 (15:26 +0000)
committermorioka <morioka>
Fri, 3 Jul 1998 15:26:41 +0000 (15:26 +0000)
mime-play.el

index 106ef8b..480bad5 100644 (file)
@@ -206,7 +206,7 @@ specified, play as it.  Default MODE is \"play\"."
        (let ((method (cdr (assoc 'method situation)))
              (name (mime-entity-safe-filename entity)))
          (setq name
-               (if name
+               (if (and name (not (string= name "")))
                    (expand-file-name name mime-temp-directory)
                  (make-temp-name
                   (expand-file-name "EMI" mime-temp-directory))