bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

24.3; argument NO-ENABLE of 'load-theme' ignored in new frames


From: juanleon
Subject: 24.3; argument NO-ENABLE of 'load-theme' ignored in new frames
Date: Thu, 4 Jul 2013 02:59:41 -0700 (PDT)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]