Fix bug #10523 with bad value of eshell-windows-shell-file.

lisp/eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
 anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
This commit is contained in:
Lars Ljung 2012-02-04 11:57:09 +02:00 committed by Eli Zaretskii
parent d6fa96a61f
commit 6283a7d3f4
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
* eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2012-02-04 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/smie.el: Fix dead link (Bug#10711).

View file

@ -91,7 +91,7 @@ since nothing else but Eshell will be able to understand
(defcustom eshell-windows-shell-file
(if (eshell-under-windows-p)
(if (string-match "\\(\\`cmdproxy\\|sh\\)\\.\\(com\\|exe\\)"
(if (string-match "\\(cmdproxy\\|sh\\)\\.\\(com\\|exe\\)"
shell-file-name)
(or (eshell-search-path "cmd.exe")
(eshell-search-path "command.com"))