【问题标题】:What should I use as a config/settings file with emacs prelude?我应该使用什么作为 emacs prelude 的配置/设置文件?
【发布时间】:2012-06-09 11:09:03
【问题描述】:

我想添加一个钩子,这样每次我打开一个新文件时,都会启用弹丸。但是,我不知道在哪里添加它以便 emacs 读取它。有什么提示吗?

【问题讨论】:

  • Projectile 在 Prelude 中默认全局启用。否则 - @phils 是完全正确的。

标签: emacs emacs-prelude


【解决方案1】:

这必须肯定在 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.")

因此,如果personal 子目录尚不存在,您应该创建它,并在该目录中创建您喜欢的任何*.el 文件名,以供您自己定制。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2010-09-22
    • 2015-03-08
    • 1970-01-01
    • 1970-01-01
    • 2012-07-08
    • 2010-12-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多