From: morioka Date: Wed, 6 May 1998 02:48:34 +0000 (+0000) Subject: (mime-activate-mailcap-method): Use 'mailcap-format-command. X-Git-Tag: semi-1_4_1~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=069ca028e18c7e39a255b36f6bf51dc1310364f6;p=elisp%2Fsemi.git (mime-activate-mailcap-method): Use 'mailcap-format-command. --- diff --git a/mime-play.el b/mime-play.el index c64c4d1..90a013d 100644 --- a/mime-play.el +++ b/mime-play.el @@ -207,7 +207,10 @@ specified, play as it. Default MODE is \"play\"." end name (cdr (assq 'encoding situation))) (message "External method is starting...") - (let ((command (format method name))) + (let ((command + (mailcap-format-command + method + (cons (cons 'filename name) situation)))) (start-process command mime-echo-buffer-name shell-file-name shell-command-switch command) )