equal
deleted
inserted
replaced
569 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
569 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
570 (message "shell, bash") |
570 (message "shell, bash") |
571 |
571 |
572 (cl-eval-when (compile) (require 'shell)) |
572 (cl-eval-when (compile) (require 'shell)) |
573 |
573 |
574 (setq explicit-bash-args |
574 ;; '-i' causes ioctl related warning in Windows Emacs because there is no real terminal. |
575 (if (eq system-type 'windows-nt) |
575 ;; But it is important to read ~/.bashrc, so we keep it here. |
576 ;; https://emacs.stackexchange.com/questions/71487/mingw-shell-in-emacs/ |
576 ;; https://emacs.stackexchange.com/questions/71487/mingw-shell-in-emacs/ |
577 (list "--login") |
577 (setq explicit-bash-args (list ("--noediting" "-i")) |
578 (list "-i"))) |
|
579 |
578 |
580 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
579 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
581 (message "Cygwin, MSYS") |
580 (message "Cygwin, MSYS") |
582 |
581 |
583 (when (and (eq system-type 'cygwin) (fboundp #'cygpath-nt-activate)) |
582 (when (and (eq system-type 'cygwin) (fboundp #'cygpath-nt-activate)) |