Emacs (29.1) issues warnings when loading a theme, such as:
Warning: setting attribute ‘:background’ of face ‘header-line’: nil value is invalid, use ‘unspecified’ instead.
or
Warning: setting attribute ‘:foreground’ of face ‘message-header-cc’: nil value is invalid, use ‘unspecified’ instead.
I replaced all occurrences of nil with unspecified for :background and :foreground attributes of faces.
Everything works as expected, and the warnings are gone.
Emacs (29.1) issues warnings when loading a theme, such as:
Warning: setting attribute ‘:background’ of face ‘header-line’: nil value is invalid, use ‘unspecified’ instead.
orWarning: setting attribute ‘:foreground’ of face ‘message-header-cc’: nil value is invalid, use ‘unspecified’ instead.
I replaced all occurrences of
nil
withunspecified
for:background
and:foreground
attributes of faces.Everything works as expected, and the warnings are gone.