chriskempson/tomorrow-theme · GitHub
Emacs24から入ったtheme機能を初めて使った上に、tomorrow-theme使えるようにするのにめっちゃ時間かかったので、誰かの助けになれば的な感じで書いておく。
tomorrow-theme/GNU Emacs
の中身を保存する。emacs.d
の中にthemes/
を作って、その中にtomorrow-themeのelファイルを入れる。- 任意の設定ファイルを開いて下記を追加。
(add-to-list 'load-path "~/.emacs.d/themes") (add-to-list 'custom-theme-load-path "~/.emacs.d/themes") (load-theme 'tomorrow-night-eighties t)
以上。
tomorrow-themeは各テーマの中でcolor-theme-tomorrow.el
に定義されてる関数を呼び出してるんだけど、custom-theme-load-path
は*-theme.el
しかロードしないっぽい。
なので、load-pathもしてる。