* After theme loads hook
@ 2011-09-14 14:46 Scott Frazer
2011-09-17 19:40 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Scott Frazer @ 2011-09-14 14:46 UTC (permalink / raw)
To: emacs-devel
Is there some way to hook in extra stuff after a theme is loaded? I have
several themes I like to use for different reasons, but want to add/modify
faces in them after they are loaded. I can do this:
(custom-theme-set-faces 'theme-A some-stuff-here)
(custom-theme-set-faces 'theme-B other-stuff-here)
but that only works after the theme has been loaded. And when you load a
theme, it is automatically enabled which isn't really what I'd like.
I couldn't find a hook in the custom theme stuff, and eval-after-load didn't
work. I suppose advice might work but seems like a hack.
Any suggestions?
Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: After theme loads hook
2011-09-14 14:46 After theme loads hook Scott Frazer
@ 2011-09-17 19:40 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-09-17 19:40 UTC (permalink / raw)
To: Scott Frazer; +Cc: emacs-devel
Scott Frazer <frazer.scott@gmail.com> writes:
> Is there some way to hook in extra stuff after a theme is loaded?
There is no such hook yet, but we can add one in a future version of
Emacs. Please file a bug report, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-17 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 14:46 After theme loads hook Scott Frazer
2011-09-17 19:40 ` Chong Yidong
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).