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

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

bug#5502: compile.el uses non-mode-line faces in the mode line


From: Juri Linkov
Subject: bug#5502: compile.el uses non-mode-line faces in the mode line
Date: Wed, 03 Feb 2010 01:45:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (x86_64-pc-linux-gnu)

>     If you set it to `unspecified' instead, it should work right.
>
> Unfortunately, it didn't help me do what I'm trying to do.

`compilation-error' inherits from `font-lock-warning-face',
so you have to reset its attribute to `unspecified' as well:

  (set-face-attribute 'compilation-error      nil :inverse-video 'unspecified)
  (set-face-attribute 'font-lock-warning-face nil :inverse-video 'unspecified)

Or when using `modify-face' every attribute should be `unspecified':

  (modify-face face 'unspecified 'unspecified 'unspecified 'unspecified
                    'unspecified 'unspecified 'unspecified)

-- 
Juri Linkov
http://www.jurta.org/emacs/






reply via email to

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