[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56725: 29.0.50; face-remapping-alist does not work correctly for mod
From: |
Eli Zaretskii |
Subject: |
bug#56725: 29.0.50; face-remapping-alist does not work correctly for mode-line face |
Date: |
Sat, 23 Jul 2022 19:07:36 +0300 |
> From: me <pRoMMMModE@outlook.com>
> Date: Sat, 23 Jul 2022 22:08:21 +0800
>
> Hi, I was tring to make the face mode-line dynamic and buffer-local by
> remapping it via face-remapping-alist. However the remapping for
> mode-line-face does not take effect immediately, in fact I need to
> reload current theme or load a new theme; and the mode-line-face across
> all buffers are always the same face, even though the buffer local value
> of face-remapping-alist have mapped mode-line-face the different faces
> in those buffers.
>From NEWS:
** Remapping 'mode-line' no longer works as expected.
'mode-line' is now the parent face of the new 'mode-line-active' face,
and remapping parent of basic faces does not work reliably.
Instead of remapping 'mode-line', you have to remap 'mode-line-active'.