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

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

Re: Load color-theme in init.el


From: Nathan LeClaire
Subject: Re: Load color-theme in init.el
Date: Tue, 14 Aug 2012 20:30:34 -0400

Hi guys, thanks for replying.  If anyone out there is still searching, I finally figured out that apparently in Emacs 24 color-theme is (slightly?) deprecated.  Instead you can load color themes with M - x load-theme, which provides a bunch of choices.  I enjoy wombat, myself.  I'm using Emacs 24 for OS X.

Cheers,

Nathan

On Tue, Aug 14, 2012 at 4:48 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

Am 14.08.2012 um 04:39 schrieb nathan.leclaire:

>> It seems that init.el is evaluated before packages are loaded.

What is this file "init.el"? Is it the (C-h v) site-run-file? If so, then it's the wrong place for the purpose of setting a colour theme. It might be OK to load here the Elisp code to handle colour themes, i.e., (require 'color-theme).

        The run-time load order is: 1. file described in
        this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.

When you look up the documentation of site-run-file you'll find some more hints.

The file "~/.emacs" is named by the variable user-init-file.

--
Greetings

  Pete     === -Q
             ==<__/% >>
_____________(_)____@_____________________________



reply via email to

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