[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SHELL in shell.el
From: |
Stefan Monnier |
Subject: |
Re: SHELL in shell.el |
Date: |
Sun, 02 Dec 2001 14:20:31 -0500 |
> > From: "Stefan Monnier" <monnier+gnu/address@hidden>
> > Date: Sun, 02 Dec 2001 13:52:34 -0500
> >
> > shell-file-name defaults to (or (getenv "SHELL") "/bin/sh"),
> > so it shouldn't make much of a difference. The reason for the change
> > was that someone complained that M-x shell didn't work even though he
> > had set his shell-file-name properly.
> >
> > Could it introduce a problem ?
>
> The difference between the old and the new code is that if someone
> modified the value of $SHELL inside Emacs, you will get the same
> complaints as with shell-file-name before the change.
>
> I don't know if this will cause any problems in practice.
Good point. So maybe I should just revert it, or does anybody
know whether it's more common to set shell-file-name than to
(setenv "SHELL" foo) ?
Stefan