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

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

Re: face at point


From: Kai Großjohann
Subject: Re: face at point
Date: Wed, 20 Nov 2002 08:39:15 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Eli Zaretskii <eliz@is.elta.co.il> writes:

> On 20 Nov 2002, Tim Cross wrote:
>
>> All I really wanted to know was "Which is the best/most
>> appropriate/accepted way of distinguishing between emacs running on a
>> tty, in its own X frame and within an X term so that I can set my
>> colours accordingly. 
>
> As I wrote earlier display-graphic-p and display-color-cells will let you 
> do that.

Additionally, Tim might wish to use different colors on the Linux
console than in an xterm, perhaps because the bg color is dark in one
case and light in the other.  In that case, it might be useful to
check (getenv "TERM").  But only if display-color-cells doesn't help!

kai
-- 
~/.signature is: umop ap!sdn    (Frank Nobis)


reply via email to

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