summaryrefslogtreecommitdiff
path: root/lisp/w32-fns.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2011-01-07 14:07:29 -0500
committerSam Steingold <sds@gnu.org>2011-01-07 14:07:29 -0500
commitd43bb7d3128da73785cf9a887d0910520dfb7052 (patch)
tree79ef425b2c7b3d6faaf0523a50482a342bbe5dcd /lisp/w32-fns.el
parent8c51d2a2c2dcae4e54a7e5aa7543a3ecb8d7d886 (diff)
downloademacs-d43bb7d3128da73785cf9a887d0910520dfb7052.tar.gz
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the non-interactive shell.
Diffstat (limited to 'lisp/w32-fns.el')
-rw-r--r--lisp/w32-fns.el2
1 files changed, 1 insertions, 1 deletions
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."
(defun w32-shell-name ()
"Return the name of the shell being used."
- (or (bound-and-true-p explicit-shell-file-name)
+ (or (bound-and-true-p shell-file-name)
(getenv "ESHELL")
(getenv "SHELL")
(and (w32-using-nt) "cmd.exe")