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

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

RE: How does Emacs know the background color?


From: Zaretskii Eli
Subject: RE: How does Emacs know the background color?
Date: Tue, 18 Feb 2003 08:41:42 +0200

This message was scanned for viruses and other malicious code by PrivaWall.


This mail was sent from ELTA SYS LTD.


> From: Michael Herman [mailto:michael-lists@thehermans.org] 
> Sent: Sunday, February 16, 2003 4:11 PM
> 
> I am using a special mode for handling e-mail called post.el.  In
> post.el there are different faces depending on the background being
> 'light' or 'dark'.  When I launch emacs -nw from within an xterm with
> a white background, emacs uses the face for a dark background.
> 
> How does emacs determine what the background is?

It looks for an environment variable defined by xterm.  See startup.el
for more details.


This message is processed by the PrivaWall Email Security Server. 





reply via email to

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