diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 18:29:31 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 18:29:31 -0500 |
| commit | 7ce43f29a754d68db5a3c8683f01e7f9698a32e8 (patch) | |
| tree | ccacfb2f81d31c77a79a0f9670644502cdc49812 /modules/external-open.el | |
| parent | 56d2b486a780250a787bb1f798338d0204fe2b47 (diff) | |
| download | dotemacs-7ce43f29a754d68db5a3c8683f01e7f9698a32e8.tar.gz dotemacs-7ce43f29a754d68db5a3c8683f01e7f9698a32e8.zip | |
fix(font-config): theme-aware browser labels and daemon-safe emoji fontset
Two font-config robustness fixes. The font-browser (cj/display-available-fonts) hardcoded a "Light Blue" foreground for each family label, which goes nearly unreadable on a light theme. I switched it to font-lock-keyword-face so the label follows the theme's contrast, keeping it bold.
The emoji-fontset cond ran once at module load behind (env-gui-p). In daemon mode there's no GUI frame at load, so env-gui-p is nil and the fontset never gets set — a later emacsclient -c GUI frame then has no emoji font. I wrapped it in cj/setup-emoji-fontset (GUI-guarded, idempotent) and, mirroring how the fontaine preset is already applied, run it from server-after-make-frame-hook in daemon mode and directly otherwise. The daemon TTY-then-GUI path can't be exercised in batch, so I left a manual-test entry for it.
Diffstat (limited to 'modules/external-open.el')
0 files changed, 0 insertions, 0 deletions
