tags:

views:

44

answers:

2

I'm using Emacs on Windows.

In my .emacs file, I changed the background and foreground colors.

When I opened Emacs, the color changes occurred.

But when I opened a new frame using C-x 5 2, the color changes did not occur.

Why?

+2  A: 

This is how I do it:

(setq default-frame-alist
       `((background-color . "darkslateblue")
         (foreground-color . "lightcyan")))
Trey Jackson
A: 

I know my method is deprecated and does not apply to windows, but I still state that I like to set colors for X11 apps in ~/.Xdefaults c.f: http://github.com/M1lan/conf-backup/blob/master/loonix/.Xdefaults#L36

Otherwise, I once read somewhere to move custom-set-variables above all other things in your initialization file, have not tested it tho'

insomniaSalt