diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-07 09:05:54 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-07 09:05:54 -0500 |
| commit | 4ece1ebb4487d3e565642e45d586f97172fe97ce (patch) | |
| tree | 5af6afbb683bcae92622b4c70922e5d6d27c6735 /.claude | |
| parent | b3ef232a486382601b6788f0c1a1edeb3982075d (diff) | |
| download | dotemacs-4ece1ebb4487d3e565642e45d586f97172fe97ce.tar.gz dotemacs-4ece1ebb4487d3e565642e45d586f97172fe97ce.zip | |
fix: restore daemon icons and consolidate nerd-icons setup
I replaced the load-time icon-stub block in keyboard-compat with per-call :around advice that checks display-graphic-p against the rendering frame. The old block ran at module-load. Under daemon startup no frame exists yet, so display-graphic-p returned nil and the empty-string stubs installed permanently. Every GUI client connecting to that daemon then saw blanks. The new shape lets one daemon serve real icons to GUI clients and blanks to terminal clients.
I also pulled the nerd-icons-completion and nerd-icons-ibuffer integrations, the package install, and a new tint helper into modules/nerd-icons-config.el. Per-feature use stays in the consuming module (dashboard, dirvish, keyboard-compat). The malformed cons-cell on the marginalia hook in selection-framework.el got fixed in the move.
Added a default darkgoldenrod tint, a :filter-return advice on nerd-icons-icon-for-dir so dir icons pick up a color face, and a buffer-local face-remap in dired-mode-hook so plain files in dired render in shadow grey.
13 tests across 3 new files cover the per-call gate, the dir-color helper (idempotent under nerd-icons' memoized return strings), and the bulk-tint helper.
Diffstat (limited to '.claude')
0 files changed, 0 insertions, 0 deletions
