无法让Tomorrow主题在Emacs中工作

时间:2015-09-28 14:18:52

标签: emacs

我最近才开始使用emacs。我已成功使用了几个不同的主题,但我无法让Tomorrow工作。

这就是我所做的:

.el文件位于〜/ .emacs.d / themes /

MY-init.el:

(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
(require 'color-theme-sanityinc-tomorrow)
(load-theme 'color-theme-sanityinc-tomorrow-night t)

我通过

加载.emacs
(add-hook 'after-init-hook '(lambda ()
                  (load "~/.emacs.d/my-noexternals.el")
                  (load "~/.emacs.d/my-init.el") ))

当我重新加载emacs时,我看到eval-buffer: Cannot open load file: no such file or directory, color-theme-sanityinc-tomorrow

1 个答案:

答案 0 :(得分:1)

如果color-theme-sanityinc-tomorrow.el在〜/ .emacs.d / themes /中你需要:

(add-to-list 'load-path "~/.emacs.d/themes/")
在要求之前

此致