我应该将什么用作emacs前奏的配置/设置文件?

Geo*_*Geo 7 emacs emacs-prelude

我想添加一个钩子,这样每次打开一个新文件时,都会启用射弹.但是,我不知道在哪里添加它以便emacs将读取它.任何提示?

phi*_*ils 10

肯定是在Prelude的文档中?如果没有,我建议你写信给作者建议添加它.

我在其init.el文件中注意到以下内容:

(defvar prelude-personal-dir (concat prelude-dir "personal/")
  "Users of Emacs Prelude are encouraged to keep their personal configuration
changes in this directory. All Emacs Lisp files there are loaded automatically
by Prelude.")
Run Code Online (Sandbox Code Playgroud)

因此,如果personal子目录尚不存在,则应创建一个子目录,并*.el在该目录中创建您喜欢的任何文件名,以用于您自己的自定义.