码迷,mamicode.com
首页 > 系统相关 > 详细

emacs 配置文件目录

时间:2020-02-28 12:18:27      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:eth   was   exists   目录   use   software   win   cal   back   

在 windows 环境下,emacs 的配置目录可以通过下面几种方式来设置:

  1. If the environment variableHOME is set, use the directory it indicates.
  2. If the registry entry HKCU\SOFTWARE\GNU\Emacs\HOME is set, use the directory it indicates.
  3. If the registry entry HKLM\SOFTWARE\GNU\Emacs\HOME is set, use the directory it indicates. Not recommended, as it results in users sharing the same HOME directory.
  4. If C:.emacs exists, then use C:/. This is for backward compatibility, as previous versions defaulted to C:/ if HOME was not set.
  5. 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\runemacs.exe 就可以打开 emacs 了。

emacs 配置文件目录

标签:eth   was   exists   目录   use   software   win   cal   back   

原文地址:https://www.cnblogs.com/ramlife/p/12376198.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!