all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Custom themes: only loading a subset of faces
@ 2011-09-07 18:02 Edward O'Connor
  0 siblings, 0 replies; only message in thread
From: Edward O'Connor @ 2011-09-07 18:02 UTC (permalink / raw)
  To: emacs-devel

Hi,

After loading my Emacs-23-compatible Custom theme in a nightly build of
Emacs 24, I launched ERC & found that Emacs wasn't using the ERC faces
that are customized in my theme. Other faces look just fine.

Calling `customize-face' on one of the ERC faces, I found it in "State:
STANDARD" and not "State: THEMED". Weird.

To work around this, I had to change from loading the theme like this:
                        (load-theme 'foo t)
to loading it like this:
                        (load "foo-theme")
                        (enable-theme 'foo)

Why? What can I change in my theme to make `load-theme' load all of the
faces, and not (apparently) some random subset of them? Here's the theme
in question:

         http://edward.oconnor.cx/config/elisp/hober2-theme.el


Thanks,
Ted



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-07 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 18:02 Custom themes: only loading a subset of faces Edward O'Connor

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.