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

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

Re: How to detect if Emacs is running in a terminal


From: David Kastrup
Subject: Re: How to detect if Emacs is running in a terminal
Date: Fri, 15 Apr 2005 17:32:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Denis Bueno <dbueno@gmail.com> writes:

> Is there some emacs lisp function that I could call to detect
> whether the current emacs process is running from within a terminal
> or not?

The window-system variable.

> I'd like to be able to change my font-lock faces based on whether
> emacs is running in a terminal or not.

Why?  Face definitions can contain several different specs for
different terminals.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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