[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: |
Vineet Naik |
Subject: |
Re: Correct way of overriding custom-set-faces after the color-theme is loaded |
Date: |
Fri, 3 Feb 2012 15:41:17 +0530 |
@Philipp - Oops, I replied back to you directly instead of the list.
Sorry for that.
I couldn't find your reply on the list besides the first one. I
checked here -
http://lists.gnu.org/archive/html/help-gnu-emacs/2012-02/threads.html
is there a different emacs.help list ?
Thanks
On Fri, Feb 3, 2012 at 2:28 PM, Philipp Haselwarter
<philipp.haselwarter@gmx.de> wrote:
> 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
>
>
--
Vineet Naik