Mail Archives: djgpp/2002/10/15/10:09:36
On Tue, 15 Oct 2002, Martin Steuer wrote:
> Whenever i try to invoke this function, Emacs tries to run /bin/sh. Is it
> somehow possible to setup command.com as the default shell?
> I tried 2 things:
> -pointing the environment var SHELL to command.com
> -inserting the line (setq explicit-shell-file-name "c:/windows/command.com")
>
> But this both doesn't help. Do I need sh?
You don't need sh, but to get what you want you will have to hack
feedmail.el to replace the explicit "/bin/sh" with shell-file-name and
"-c" with shell-command-switch. The fact that feedmail doesn't do that
itself is a bug.
Don't forget to byte-compile feedmail.el after you change it!
- Raw text -