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

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

bug#8144: 24.0.50; diff-mode diff-changed face specification


From: Chong Yidong
Subject: bug#8144: 24.0.50; diff-mode diff-changed face specification
Date: Sun, 22 May 2011 15:23:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Le Wang <address@hidden> writes:

> (defface diff-changed
>   '((((type tty pc) (class color) (background light))
>      :foreground "magenta" :weight bold :slant italic)
>     (((type tty pc) (class color) (background dark))
>      :foreground "yellow" :weight bold :slant italic))
>   "`diff-mode' face used to highlight changed lines."
>   :group 'diff-mode)
>
> Why does w32 get no fruit salad love?

The diff-changed is supposed to be the default face, if the terminal
supports it (because diff-context is shadowed).  We only highlight
diff-changed on terminals that don't have enough colors for the shadow
face.

I fixed up the definition so that this is clearer (and so that
high-color ttys will behave like X).





reply via email to

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