equal
deleted
inserted
replaced
561 ;; (setq shell-command-switch "-c") |
561 ;; (setq shell-command-switch "-c") |
562 ;; (setenv "SHELL" shell-file-name) |
562 ;; (setenv "SHELL" shell-file-name) |
563 |
563 |
564 (when (eq window-system 'w32) ; may require Cygwin or MSYS |
564 (when (eq window-system 'w32) ; may require Cygwin or MSYS |
565 (setenv "ESHELL" "bash") |
565 (setenv "ESHELL" "bash") |
|
566 ;; Restore shell name if user set SHELL env var for Cygwin/MSYS. |
|
567 (setq shell-file-name (concat exec-directory "cmdproxy.exe")) |
566 ;; (setq explicit-shell-file-name "bash") |
568 ;; (setq explicit-shell-file-name "bash") |
567 ;; (setq shell-file-name "bash") |
569 ;; (setq shell-file-name "bash") |
568 (setq explicit-bash-args '("-i")) |
570 (setq explicit-bash-args '("-i")) |
569 (setq explicit-sh-args '("-i")) |
571 (setq explicit-sh-args '("-i")) |
570 ;; Here is workaround: when explicit-shell-file-name is "bash" and shell-file-name is "cmdproxy.exe" |
572 ;; Here is workaround: when explicit-shell-file-name is "bash" and shell-file-name is "cmdproxy.exe" |