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: Stefan Monnier
Subject: Re: How to detect if Emacs is running in a terminal
Date: Fri, 15 Apr 2005 11:56:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

   M-x customize-face RET font-lock-<foobar>-face RET

then middle click on the "State" button and select "Show all display specs".
You can then give different face specs for different kinds of displays
(tty, grey, w32, dark-background, ...).


        Stefan


reply via email to

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