help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct way of overriding custom-set-faces after the color-theme is


From: Philipp Haselwarter
Subject: Re: Correct way of overriding custom-set-faces after the color-theme is loaded
Date: Fri, 03 Feb 2012 09:58:29 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux)

two solutions come to my mind:

1) set the face attributes outside of customize, that way they won't be
   affected by customize.
#+begin_src elisp
 (set-face-background 'flymake-errline "DarkRed")
#+end_src

2) put custom stuff into a separate file and load that at some point of
   your .emacs
#+begin_src elisp
 (load
  (setq custom-file
        (expand-file-name "custom.el" user-emacs-directory))
  'noerror)
#+end_src

-- 
Philipp Haselwarter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]