Emacs shell command not found

后端 未结 3 2004
予麋鹿
予麋鹿 2021-01-31 12:46

I work on Mac OS X 10.5.8. I am trying to learn emacs. I am very new to it and today tried to enter shell commands from within emacs. I entered pdflatex filename. H

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 13:20

    According to the following article. If you launch emacs from a shell, it will inherit the shell's environment variables. Therefore, just launch emacs from whatever shell you are most comfortable with to automatically set the environment variables. For example:

    cd /file_path
    emacs file_name
    

提交回复
热议问题