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

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

Re: X or console!


From: Jiri Pejchal
Subject: Re: X or console!
Date: Tue, 15 Jul 2003 14:36:59 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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.

I use something like this:
(if (not window-system) (menu-bar-mode -1))

--
Jiri Pejchal


reply via email to

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