Commit d43bb7d3 authored by Sam Steingold's avatar Sam Steingold

* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of

the `explicit-shell-file-name' because that is the non-interactive shell.
parent 8c51d2a2
2011-01-07 Sam Steingold <sds@gnu.org>
* w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
the `explicit-shell-file-name' because that is the
non-interactive shell.
2011-01-07 Chong Yidong <cyd@stupidchicken.com>
* subr.el (y-or-n-p): Accept format string args.
......
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment