diff options
author | Lars Ljung <lars@matholka.se> | 2012-02-04 11:57:09 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-02-04 11:57:09 +0200 |
commit | 6283a7d3f4c9c122a5ae93507ca4341b8f33fd36 (patch) | |
tree | 477bbb318d15e537b19ee18b807cd0f43864d989 /lisp/eshell | |
parent | d6fa96a61fbded6a8c4cea832bd6ad225202b30e (diff) | |
download | emacs-6283a7d3f4c9c122a5ae93507ca4341b8f33fd36.tar.gz |
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)
Diffstat (limited to 'lisp/eshell')
-rw-r--r-- | lisp/eshell/esh-ext.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index cf57a1dce79..f025c66df32 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el @@ -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")) |