.emacs-my
changeset 203 47d088c870f7
parent 202 a89804893475
child 204 4545865a64c3
--- a/.emacs-my	Wed Dec 02 23:27:00 2009 +0200
+++ b/.emacs-my	Wed Dec 02 23:37:53 2009 +0200
@@ -583,13 +583,14 @@
 ;; (setq binary-process-input t)
 ;; (setq shell-file-name "bash")
 ;; (setq shell-command-switch "-c")
-;; (setq explicit-shell-file-name shell-file-name)
 ;; (setenv "SHELL" shell-file-name)
 ;; (if (boundp 'w32-quote-process-args)
 ;;     (setq w32-quote-process-args ?\")) ;; Include only for MS Windows.
 
-(setq explicit-sh-args '("-login" "-i"))
-(setq explicit-bash-args (quote ("-login" "-i")))
+(when (eq window-system 'w32)
+  (setq explicit-shell-file-name "bash")
+  (setq explicit-bash-args '("-login" "-i"))
+  (setq explicit-sh-args '("-login" "-i")) )
 
 (when (provide 'bat-mode)
   (progn