diff options
| author | Sam Steingold | 2011-01-07 14:07:29 -0500 |
|---|---|---|
| committer | Sam Steingold | 2011-01-07 14:07:29 -0500 |
| commit | d43bb7d3128da73785cf9a887d0910520dfb7052 (patch) | |
| tree | 79ef425b2c7b3d6faaf0523a50482a342bbe5dcd | |
| parent | 8c51d2a2c2dcae4e54a7e5aa7543a3ecb8d7d886 (diff) | |
| download | emacs-d43bb7d3128da73785cf9a887d0910520dfb7052.tar.gz emacs-d43bb7d3128da73785cf9a887d0910520dfb7052.zip | |
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the non-interactive shell.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/w32-fns.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22b0818b2bb..a40900bd5a4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-01-07 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of | ||
| 4 | the `explicit-shell-file-name' because that is the | ||
| 5 | non-interactive shell. | ||
| 6 | |||
| 1 | 2011-01-07 Chong Yidong <cyd@stupidchicken.com> | 7 | 2011-01-07 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * subr.el (y-or-n-p): Accept format string args. | 9 | * subr.el (y-or-n-p): Accept format string args. |
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el index 0c6c56f84fb..e5be023ad44 100644 --- a/lisp/w32-fns.el +++ b/lisp/w32-fns.el | |||
| @@ -57,7 +57,7 @@ That includes all Windows systems except for 9X/Me." | |||
| 57 | 57 | ||
| 58 | (defun w32-shell-name () | 58 | (defun w32-shell-name () |
| 59 | "Return the name of the shell being used." | 59 | "Return the name of the shell being used." |
| 60 | (or (bound-and-true-p explicit-shell-file-name) | 60 | (or (bound-and-true-p shell-file-name) |
| 61 | (getenv "ESHELL") | 61 | (getenv "ESHELL") |
| 62 | (getenv "SHELL") | 62 | (getenv "SHELL") |
| 63 | (and (w32-using-nt) "cmd.exe") | 63 | (and (w32-using-nt) "cmd.exe") |