1

Customize-themes に移動すると、solarized-light テーマをロードできますが、.emacs にあるにもかかわらず、起動時にロードされません。どうしてこれなの?

(custom-set-faces
 ;; custom-set-faces 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.
 '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 150 :width normal :foundry "apple" :family "Menlo"))))
 '(compilation-mode-line-fail ((t (:inherit compilation-error :foreground "dark cyan" :weight bold))) t)
 '(cursor ((t (:background "green1"))))
 '(rainbow-delimiters-depth-2-face ((t (:foreground "MediumOrchid1"))))
 '(rainbow-delimiters-depth-3-face ((t (:foreground "dark cyan"))))
 '(rainbow-delimiters-depth-4-face ((t (:foreground "light green"))))
 '(rainbow-delimiters-depth-5-face ((t (:foreground "HotPink1"))))
 '(rainbow-delimiters-depth-6-face ((t (:foreground "yellow1"))))
 '(slime-repl-inputed-output-face ((t (:foreground "gray100")))))
4

2 に答える 2

4

これはうまくいきました:

(add-hook 'emacs-startup-hook
  (lambda ()
    (load-theme 'solarized-light)
    ))
于 2013-12-12T10:57:44.697 に答える
0

私の元の答えは次のようになります。

ファイル(load-theme 'solarized-light t)の先頭に追加してみてください。.emacs

于 2013-12-12T10:59:44.853 に答える