我emacs-snapshot通过http://emacs.naquadah.org/安装
一切正常,除非我运行时出现dired
此错误:
Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "ls")
call-process("ls" nil nil nil "--dired")
Run Code Online (Sandbox Code Playgroud)
我能够解决这个问题:
(setenv "PATH" (concat (getenv "PATH") ":/bin"))
(setq exec-path (append exec-path '("/bin")))
Run Code Online (Sandbox Code Playgroud)