--- Begin Message ---
Subject: |
default face spec doesn't get overriden |
Date: |
Tue, 31 Mar 2020 01:38:40 +0300 |
Maybe I'm getting something wrong.
> ‘default’
> This element of SPEC doesn’t match any terminal; instead, it
> specifies defaults that apply to all terminals. This element,
> if used, must be the first element of SPEC. Each of the
> following elements can override any or all of these defaults.
(progn
(face-spec-set 'zzz
'((default :background "red")
(((background dark)) :weight bold :background "black"
:foreground "White" )
(((background light)) :weight bold :background "yellow"
:foreground "Black" )
))
(insert (propertize "XXX" 'face 'zzz)))
Eval it and see default background gets applied despite it should be overriden
by a spec line that matches terminal's background.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#40336: default face spec doesn't get overriden |
Date: |
Sat, 04 Apr 2020 10:00:57 +0300 |
> From: Bad Blue Bull <address@hidden>
> Date: Sat, 04 Apr 2020 01:27:16 +0300
>
> Yes, well done.
Thanks, installed on the master branch.
--- End Message ---