Date: Mon, 26 May 1997 13:09:35 +0300 (IDT) From: Eli Zaretskii To: eyal DOT ben-david AT aks DOT com cc: djgpp AT delorie DOT com Subject: Re: problem: EMACS and RCS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 26 May 1997 eyal DOT ben-david AT aks DOT com wrote: > runs it by invoking "/bin/sh" (hard-coded). I changed the string > "/bin/sh" to just "sh" , compiled it and copied it to Emacs/lisp > directory. Now it works fine since "sh" is found on the PATH. A better change is to replace "/bin/sh" with this: (if (eq system-type 'ms-dos) "sh" "/bin/sh") That way, it will work on both MS-DOS and Unix. (Unix needs an explicit /bin/sh because they want to be sure the default shell is invoked, whereas on MS-DOS, the probability that you would install and incompatible "sh" is very small indeed.)