From: morioka Date: Fri, 3 Jul 1998 15:26:41 +0000 (+0000) Subject: (mime-activate-mailcap-method): Check filename is null string. X-Git-Tag: semi-1_8_2_9~11 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4950b395b89ae08c8e9a9b140622ca5b60c1ed7c;p=elisp%2Fsemi.git (mime-activate-mailcap-method): Check filename is null string. --- diff --git a/mime-play.el b/mime-play.el index 106ef8b..480bad5 100644 --- a/mime-play.el +++ b/mime-play.el @@ -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))