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

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

Re: color-theme 6.5.0


From: Chris McMahan
Subject: Re: color-theme 6.5.0
Date: 09 Jan 2003 10:32:45 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

D. Goel <deego@gnufans.org> writes:
> [fup to g.e.help]
> > 
> > Nice work, but it's a shame I still have to load the
> > color theme manually (M-x color-theme-robin-hood RET)
> > to get the colors right.
> > It would be so nice if I could put it in my ~/.emacs.
> > 
> > (Happens with Emacs 21.2.1 on Windows 2000 and XP.)
> 
> this is what happens for KDE: 
> http://www.emacswiki.org/cgi-bin/wiki.pl?ColorsAndKde
> 
> 
> something similar might be happening for windows :) 
> 
> HTH
> 
> DG                                 http://deego.gnufans.org/~deego/
> --

Hmmm... I've been using color-theme from my .emacs since its initial
release. 

Could the key be to place it within the init hook?

Here's what I've got:

;;;======================================================================
;;; load the color theme package
;;;======================================================================
(require 'color-theme)

(if (not window-system)
        nil
  (progn
        (add-hook 'after-init-hook
          (lambda ()
        (color-theme-dark-blue2)))))



-- 
     (.   .)
  =ooO=(_)=Ooo========================
  Chris McMahan | cmcmahan-AT-one.net
  ====================================


reply via email to

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