all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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 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.