当我现在启动 emacs 时,prelude 不再被激活。这是我的personal.el
文件:
(setq-default tab-width 4)
(setq tab-width 4)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(tab-stop-list (quote (4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120))))
(setq exec-path (append exec-path '("/usr/bin/")))
(setq auto-fill-mode -1)
(setq-default fill-column 99999)
(setq fill-column 99999)
(setq global-hl-line-mode -1)
(require 'projectile)
(defun myprojectilehook ()
(projectile-mode)
)
(add-hook 'find-file-hook 'myprojectilehook)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
我尝试向 find-file-hook 添加一个钩子,这将为当前缓冲区启用弹丸,但没有太大成功。当我打开 emacs 弹丸被禁用。当我访问一个新文件时,弹丸仍然被禁用。我究竟做错了什么?