all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Haselwarter <philipp.haselwarter@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Correct way of overriding custom-set-faces after the color-theme is loaded
Date: Fri, 03 Feb 2012 09:58:29 +0100	[thread overview]
Message-ID: <878vkkqone.fsf@nzebook.haselwarter.org> (raw)
In-Reply-To: CADmbCiPCUP5UTvxiVLpt94Y5LtneUi6Mzu6SBwZn8==AuD0C6Q@mail.gmail.com

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	other threads:[~2012-02-03  8:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03  7:48 Correct way of overriding custom-set-faces after the color-theme is loaded Vineet Naik
2012-02-03  8:58 ` Philipp Haselwarter [this message]
2012-02-03 10:11   ` Vineet Naik
2012-02-03 11:04     ` Vineet Naik
2012-02-03 11:13     ` Philipp Haselwarter
2012-02-03 15:36       ` Vineet Naik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vkkqone.fsf@nzebook.haselwarter.org \
    --to=philipp.haselwarter@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.