[Top][All Lists]

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

Re: modeline face under a tty

From: Eli Zaretskii
Subject: Re: modeline face under a tty
Date: Fri, 02 Nov 2001 14:28:09 +0200

> Date: Fri, 2 Nov 2001 12:18:26 +0200
> From: "Ehud Karni" <address@hidden>
> Well, my solution is to keep the inverse video attribute and define the
> reversed colors. The problem of reversed color on X is solved by:
> (set-face-foreground 'mode-line
>            (if window-system "white"    "magenta"))
> (set-face-background 'mode-line
>            (if window-system "magenta"  "white"))

That's what I do as well, but Richard thinks it's wrong.

> It may need a tweaking for MS-DOG, Eli what say you ?

Yes, you should use display-graphic-p instead of window-system.

reply via email to

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