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

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.