We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
如果你使用Chemacs, 下面是一份 init.el的配置示例:
init.el
;; An example of init.el (defun add-subdirs-to-load-path (dir) "Recursive add directories to `load-path'." (let ((default-directory (file-name-as-directory dir))) (add-to-list 'load-path dir) (normal-top-level-add-subdirs-to-load-path))) (add-subdirs-to-load-path "~/.emacs.d/") (require 'eaf)
在安装EAF时,你仅需要修改此文件中调用函数add-subdirs-to-load-path的参数值,将其更改为你的EAF安装位置的绝对路径。 配置示例中的EAF是安装在~/.emacs.d/.
add-subdirs-to-load-path
~/.emacs.d/
在EAF安装完成后,假设你将它安装到了~/eaf,你电脑中只有存放在~/.emacs.d的Emacs配置文件和安装的EAF,并且你电脑中安装了Chemacs,此时.emacs-profiles.el应该这样配置:
~/eaf
~/.emacs.d
.emacs-profiles.el
(("default" . ((user-emacs-directory . "~/.emacs.d"))) ("EAF" . ((user-emacs-directory . "~/eaf"))))
当你想使用Chemacs打开EAF,只需在终端中执行emacs --with-profile EAF。
emacs --with-profile EAF