PATH and exec-path set, but emacs does not find executable

后端 未结 4 1719
暗喜
暗喜 2020-12-04 17:51

My .emacs contains

(setenv \"PATH\" (concat \".:/usr/texbin:/opt/local/bin\" (getenv \"PATH\")))
(setq exec-path (append exec-path \'(\".:/usr/texbin:/opt/lo         


        
4条回答
  •  执念已碎
    2020-12-04 18:30

    I hit a similar problem, but with a correct PATH, including trailing ´:´. It turned out the internal emacs shell program was missing, resulting in a ´Searching for program: No such file or directory´ message. Fixed with

    (setq shell-file-name "bash").
    

提交回复
热议问题