[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:34:15 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
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 ]
| window-system's value is x
|
| Name of window system that Emacs is displaying through.
| The value is a symbol--for instance, `x' for X windows.
| The value is nil if Emacs is using a text-only terminal.
`----