[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man.el should avoid "sh"

From: Kevin Rodgers
Subject: Re: man.el should avoid "sh"
Date: Fri, 16 Apr 2004 16:53:57 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Max Polk wrote:
> Running emacs in Windows, by typing "M-x man ls" I get an error
> message that "sh" is not found.
> Here's a minor fix for man.el, line 618:
> -       (start-process manual-program buffer "sh" "-c"
> +       (start-process manual-program buffer shell-file-name "-c"
> This replaces the hard-coded "sh" with the variable shell-file-name.
> Notice that just below this shell-file-name is used and not "sh" so
> maybe it got fixed in one place but not the other.

You should also replace "-c" with shell-command-switch.

Kevin Rodgers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]