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

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

Re: X or console!


From: Jesper Harder
Subject: Re: X or console!
Date: Tue, 15 Jul 2003 16:42:02 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Jesper Harder <harder@myrealbox.com> writes:

> Saurabh Kapoor <u02137@cs.unipune.ernet.in> writes:
>
>> Is there any variable or function that I can use to determine
>> whether emacs is runnning in an X session or the console.  I want to
>> have differenet faces for the 2 sessions.  I've looked at the
>> documentation but haven't found anything appropriate.
>
> ,----[ C-h v window-system RET ]

I should add that it might be better to test for something more
specific.  

If the reason that you want different faces is that some face
attribute isn't supported on the console, you could use
`display-supports-face-attributes-p' instead.


reply via email to

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