[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting color themes specific to a frame
From: |
suvayu ali |
Subject: |
Re: Setting color themes specific to a frame |
Date: |
Mon, 20 Feb 2012 09:23:48 +0100 |
Hi Adam,
On Mon, Feb 20, 2012 at 05:57, Adam <adam_w67@yahoo.com> wrote:
> I am using emacs 24, and really enjoy the new color theme feature. I
> have one little issue, though. I am using one emacs daemon instance,
> and lots of instances. Some using X11-Frames, some on plain terminals.
> Is there any method to get the color theme just enabled on X11-frames,
> but fall back to the default color theme on terminals - or, more
> general - is there a method to set a color theme only for one specific
> frame, without affecting the other frames?
If you are not using emacs --daemon, then I believe the solution lies
in the color-theme library. Setting color-theme-is-global to nil
should give you the behaviour you are looking for. For some hint you
can look here:
<https://github.com/suvayu/.emacs.d/blob/master/init.el#L113>
GL
--
Suvayu
Open source is the future. It sets us free.