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

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

Re: Changing foreground/background colors in all frames


From: Gilbert Harman
Subject: Re: Changing foreground/background colors in all frames
Date: Wed, 21 Jun 2006 13:24:42 -0400
User-agent: Microsoft-Entourage/11.2.3.060209

> I am unable to set the default foreground and background colors in all emacs
> frames. I have added
> 
> (set-background-color "black")
> (set-foreground-color "white")
> 
> To my .emacs. This changes the setting in the first emacs frame.  However,
> if I use 
> 
> C-x 5 f 
> 
> To open a new file in a new frame, the foreground/background settings in the
> .emacs file do not seem to affect the look of the new frame.
> 
> Any ideas how to tackle this issue?

(add-to-list 'default-frame-alist '(foreground-color . "white"))
(add-to-list 'default-frame-alist '(background-color . "black"))


  Gil






reply via email to

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