[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mode-line-inactive and face inheritance
From: |
Eli Zaretskii |
Subject: |
mode-line-inactive and face inheritance |
Date: |
Sat, 16 Feb 2002 09:55:27 +0200 |
Here's the definition of mode-line-inactive face:
(defface mode-line-inactive
'((((type x w32 mac) (background light) (class color))
:inherit mode-line
:weight light
:box (:line-width -1 :color "grey75" :style nil)
:foreground "grey20" :background "grey90")
(((type x w32 mac) (background dark) (class color))
:inherit mode-line
:weight light
:box (:line-width -1 :color "grey40" :style nil)
:foreground "grey80" :background "grey30")
(t
:inverse-video t))
"Basic mode line face for non-selected windows."
:version "21.2"
:group 'modeline
:group 'basic-faces)
The definition for non-GUI versions doesn't include `:inherit mode-line'.
Is that intentional? I think it's not a good idea to have this
difference, especially since the documentation mentions the inheritance,
and doesn't say it's display-dependent. FWIW, I don't see any reason
why an :inherit attribute would hurt here.
- mode-line-inactive and face inheritance,
Eli Zaretskii <=