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

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

Re: X or console!


From: Daniel Jensen
Subject: Re: X or console!
Date: Tue, 15 Jul 2003 16:42:54 +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.

window-system:

  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.

-- 
Daniel Jensen
Editing is a rewording activity.


reply via email to

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