aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ljung2012-02-04 11:57:09 +0200
committerEli Zaretskii2012-02-04 11:57:09 +0200
commit6283a7d3f4c9c122a5ae93507ca4341b8f33fd36 (patch)
tree477bbb318d15e537b19ee18b807cd0f43864d989
parentd6fa96a61fbded6a8c4cea832bd6ad225202b30e (diff)
downloademacs-6283a7d3f4c9c122a5ae93507ca4341b8f33fd36.tar.gz
emacs-6283a7d3f4c9c122a5ae93507ca4341b8f33fd36.zip
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)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/eshell/esh-ext.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4f7863b2870..888b7e20307 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2
3 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5
12012-02-04 Leo Liu <sdl.web@gmail.com> 62012-02-04 Leo Liu <sdl.web@gmail.com>
2 7
3 * emacs-lisp/smie.el: Fix dead link (Bug#10711). 8 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
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
91 91
92(defcustom eshell-windows-shell-file 92(defcustom eshell-windows-shell-file
93 (if (eshell-under-windows-p) 93 (if (eshell-under-windows-p)
94 (if (string-match "\\(\\`cmdproxy\\|sh\\)\\.\\(com\\|exe\\)" 94 (if (string-match "\\(cmdproxy\\|sh\\)\\.\\(com\\|exe\\)"
95 shell-file-name) 95 shell-file-name)
96 (or (eshell-search-path "cmd.exe") 96 (or (eshell-search-path "cmd.exe")
97 (eshell-search-path "command.com")) 97 (eshell-search-path "command.com"))