* 24.3; argument NO-ENABLE of 'load-theme' ignored in new frames
@ 2013-07-04 9:59 juanleon
0 siblings, 0 replies; only message in thread
From: juanleon @ 2013-07-04 9:59 UTC (permalink / raw)
To: bug-gnu-emacs
I think this is a bug but I am enjoying it as a feature.
With emacs -Q, I eval "(load-theme 'dichromacy t t)". Nothing changes, as
expected since per the doc:
If optional arg NO-ENABLE is non-nil, load the theme but don't enable
it, unless the theme was already enabled.
But if I create a new frame, the new frame has the dichromacy theme enabled.
If this is a feature, I think documentation is somewhat misleading.
Anyway, I like very much the ability to use different themes in different
frames (load-theme-buffer-local.el does not apply to minibuffer nor mode-line),
which I partially enjoy with:
(load-theme my-main-theme t)
(load-theme my-theme-for-emacsclient-frames t t)
Is there any way to do this without taking advantage of this possible bug?
Thanks
juanleon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-04 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 9:59 24.3; argument NO-ENABLE of 'load-theme' ignored in new frames juanleon
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).