unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pedro Costa <psdc1978@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: load color-theme when start emacs
Date: Sat, 19 Mar 2011 12:33:31 +0000	[thread overview]
Message-ID: <AANLkTimn-fwR=3SgHWtn5QcbK9a+7Zr+-eb44k0tYftB@mail.gmail.com> (raw)

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



             reply	other threads:[~2011-03-19 12:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-19 12:33 Pedro Costa [this message]
2011-03-19 13:06 ` load color-theme when start emacs Deniz Dogan
2011-03-19 15:14   ` suvayu ali
2011-03-19 19:33   ` Stefan Husmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimn-fwR=3SgHWtn5QcbK9a+7Zr+-eb44k0tYftB@mail.gmail.com' \
    --to=psdc1978@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).