purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.82k stars 2.04k forks source link

custom theme not work in init-local #822

Closed EarthIsAPrisonIfYouNotAwareCanNotOut closed 1 year ago

EarthIsAPrisonIfYouNotAwareCanNotOut commented 1 year ago

It seems the config not work in init-local.el, it only work when i manually eval-buffer this file.

(set-face-italic 'font-lock-comment-face nil)
purcell commented 1 year ago

Yeah, the theme would get loaded after this, and take precedence. You could try putting something like this in your init-local.el:

(custom-set-faces
 '(font-lock-comment-face ((t (:italic nil)))))