small fix shell-file-name.
--- a/.emacs-my Sun Apr 11 22:07:37 2010 +0300
+++ b/.emacs-my Tue Apr 13 23:17:54 2010 +0300
@@ -639,8 +639,6 @@
(when my-use-windows-shell
;; Restore shell name if user set SHELL env var for Cygwin/MSYS.
(setq shell-file-name (concat exec-directory "cmdproxy.exe"))
- ;; Use shell from Cygwin/MinGW.
- (setq shell-file-name "sh")
;; Here is workaround: when explicit-shell-file-name is "bash" and shell-file-name is "cmdproxy.exe"
;; find-dired incorrect quote args (in shell-quote-argument (w32-shell-name) return "bash", but
;; shell-command used shell-file-name which value "cmdproxy.exe"). So I put additional space in pattern to