[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coloring under X but not under console
From: |
Marius Ologesa |
Subject: |
Re: coloring under X but not under console |
Date: |
Sat, 10 Nov 2001 01:08:24 -0500 |
On Fri, 9 Nov 2001 23:46:38 +0100
Patrick Percot <ppercot@free.fr> wrote the immortal words:
> Hello,
>
> I want to color my background in lightgray, it's fine under X, but in
> console mode, I perfer to keep a black background. How can I determine
> if emacs is running under X or under console mode.
I have something like. Read the warning first.
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
(cond ((getenv "DISPLAY")
(custom-set-faces
...your X colors
))(we are in console; put what you need here))
--
The Marius