From 069ca028e18c7e39a255b36f6bf51dc1310364f6 Mon Sep 17 00:00:00 2001 From: morioka Date: Wed, 6 May 1998 02:48:34 +0000 Subject: [PATCH] (mime-activate-mailcap-method): Use 'mailcap-format-command. --- mime-play.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) ) -- 1.7.10.4