* mm-decode.el (mm-display-external): For `copiousoutput' methods,
switch to buffer after calling program.
+ (mm-display-external): Use `shell-command-switch' instead of "-c".
1999-11-27 15:21:25 Lars Magne Ingebrigtsen <larsi@gnus.org>
(cond (needsterm
(start-process "*display*" nil
"xterm"
- "-e" shell-file-name "-c"
+ "-e" shell-file-name
+ shell-command-switch
(mm-mailcap-command
method file (mm-handle-type handle))))
(copiousoutput
(setq buffer
(generate-new-buffer "*mm*"))
shell-file-name
- "-c"
+ shell-command-switch
(mm-mailcap-command
method file (mm-handle-type handle)))
(switch-to-buffer buffer))
(setq buffer
(generate-new-buffer "*mm*"))
shell-file-name
- "-c"
+ shell-command-switch
(mm-mailcap-command
method file (mm-handle-type handle))))))
(mm-handle-set-undisplayer handle (cons file buffer)))