emacs 配置文件目录
Posted ramlife
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了emacs 配置文件目录相关的知识,希望对你有一定的参考价值。
在 windows 环境下,emacs 的配置目录可以通过下面几种方式来设置:
- If the environment variableHOME is set, use the directory it indicates.
- If the registry entry HKCUSOFTWAREGNUEmacsHOME is set, use the directory it indicates.
- If the registry entry HKLMSOFTWAREGNUEmacsHOME is set, use the directory it indicates. Not recommended, as it results in users sharing the same HOME directory.
- If C:.emacs exists, then use C:/. This is for backward compatibility, as previous versions defaulted to C:/ if HOME was not set.
- Use the user‘s AppData directory, usually a directory called Application Data under the user‘s profile directory, the location of which varies according to Windows version and whether the computer is part of a domain.
HOME 是 String 类型的值。
然后运行 bin unemacs.exe 就可以打开 emacs 了。
以上是关于emacs 配置文件目录的主要内容,如果未能解决你的问题,请参考以下文章