diff options
| author | Lars Ljung | 2012-02-04 11:57:09 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-02-04 11:57:09 +0200 |
| commit | 6283a7d3f4c9c122a5ae93507ca4341b8f33fd36 (patch) | |
| tree | 477bbb318d15e537b19ee18b807cd0f43864d989 | |
| parent | d6fa96a61fbded6a8c4cea832bd6ad225202b30e (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/eshell/esh-ext.el | 2 |
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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-02-04 Leo Liu <sdl.web@gmail.com> | 6 | 2012-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")) |