unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* load color-theme when start emacs
@ 2011-03-19 12:33 Pedro Costa
  2011-03-19 13:06 ` Deniz Dogan
  0 siblings, 1 reply; 4+ messages in thread
From: Pedro Costa @ 2011-03-19 12:33 UTC (permalink / raw)
  To: help-gnu-emacs

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?


-- 
Pedro



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-19 19:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 12:33 load color-theme when start emacs Pedro Costa
2011-03-19 13:06 ` Deniz Dogan
2011-03-19 15:14   ` suvayu ali
2011-03-19 19:33   ` Stefan Husmann

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).