Windows, Emacs, Git Bash, and shell-command

后端 未结 3 570
深忆病人
深忆病人 2021-02-09 18:52

Windows 7. Emacs 24.3.1. Git 1.8.1.msysgit.1. I have the following in my equivalent .emacs file:

(if (equal system-type \'windows-nt)
    (progn (setq explicit-s         


        
3条回答
  •  南方客
    南方客 (楼主)
    2021-02-09 19:21

    Using GitBash you can use the lein script instead of the lein.bat script. Put the lein script into a directory called bin in your user account on windows. GitBash should have that bin directory on its executable PATH, so you can run lein anywhere.

    With this approach you do not need any configuration in Emacs Lisp.

    See my full answer

提交回复
热议问题