(mime-activate-mailcap-method): Use 'mailcap-format-command.
authormorioka <morioka>
Wed, 6 May 1998 02:48:34 +0000 (02:48 +0000)
committermorioka <morioka>
Wed, 6 May 1998 02:48:34 +0000 (02:48 +0000)
mime-play.el

index c64c4d1..90a013d 100644 (file)
@@ -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)
          )