使用cygwin,要加如下代码到.emacs.el中,否则在python-mode中会有Shell command succeeded with no output的输出
(require 'cygwin-mount)
(cygwin-mount-activate)
(let* ((cygwin-root "d:/cygwin")
(cygwin-bin (concat cygwin-root "/bin")))
(setenv "PATH" (concat cygwin-bin ";" (getenv "PATH")))
(setq exec-path (cons cygwin-bin exec-path)))
(setq shell-file-name "bash")
(setq explicit-shell-file-name "bash")
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment