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

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

Re: load color-theme when start emacs


From: Deniz Dogan
Subject: Re: load color-theme when start emacs
Date: Sat, 19 Mar 2011 14:06:11 +0100

2011/3/19 Pedro Costa <address@hidden>:
> Hi,
>
> I would like to load a color-theme when I start emacs in X11. I've put
> this in .emacs, but it won't work.
>
> [code]
> (require 'color-theme)
> if(window-system
>   (setq color-theme-is-global t)
>   (color-theme-midnight))
> [/code]
>
> How can I load this theme when I start emacs?
>

I don't use color-theme, but I believe this is what you mean:

(require 'color-theme)
(when window-system
  (setq color-theme-is-global t)
  (color-theme-midnight))

-- 
Deniz Dogan



reply via email to

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