.emacs.d and site-lisp directory

戏子无情 提交于 2019-12-05 12:13:52

You can read about auto-save-list here:

C-hig (emacs) Recover RET

Emacs records information about interrupted sessions for later recovery in files named `.saves-PID-HOSTNAME' in the directory `~/.emacs.d/auto-save-list/'. This directory is determined by the variable `auto-save-list-file-prefix'. If you set `auto-save-list-file-prefix' to `nil', sessions are not recorded for recovery.

You may be slightly confused about site-lisp -- the only standard directory by that name is not intended to live under a user's home directory (typically it lives at /usr/local/share/emacs/site-lisp), and the only special thing about it is that Emacs will include it in the load-path list by default.

The intention, as the name suggests, is that libraries which should be available to all users on a given machine can be placed in that directory.

By contrast, the ~/elisp directory you've created will not be available to anyone else.

Read more here:

C-hig (emacs) Init File RET

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!