<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-dashboard-config-font-lock.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-06-16T06:13:12+00:00</updated>
<entry>
<title>fix(dashboard): exclude dashboard-mode from global font-lock</title>
<updated>2026-06-16T06:13:12+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-16T06:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=202cf4306d10128de79fefad26d14a1719f04d1e'/>
<id>urn:sha1:202cf4306d10128de79fefad26d14a1719f04d1e</id>
<content type='text'>
The dashboard banner title and section headings render in the default face instead of their theme colors. The faces are defined correctly. Global font-lock fontifies the dashboard buffer and strips the `face' text properties dashboard sets by hand: it owns `face' and clears props it didn't apply. Items and the navigator survive because their color rides a dashboard-items-face overlay, which font-lock leaves alone.

Excluding dashboard-mode from global font-lock keeps the banner and heading faces. I set it at top level so it applies regardless of the use-package body.
</content>
</entry>
</feed>
