From 47b2e618a0547f8613784e7b25e94aed2f596f84 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 10 Jul 2026 00:48:54 -0500 Subject: fix(auto-dim): dim the built-in link faces in unfocused windows link and link-visited were absent from auto-dim-other-buffers-affected-faces, so links in help, info, and customize buffers stayed lit while the rest of the window faded. They're distinct from org-link, which the earlier org pass covered. Both carry :underline t, and the dim face sets no underline, so the relative remap drops the colour and keeps the cue. A second test pins that: if a theme ever gives auto-dim-other-buffers an :underline, dimmed links stop looking like links and the suite says so. --- modules/auto-dim-config.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/auto-dim-config.el') diff --git a/modules/auto-dim-config.el b/modules/auto-dim-config.el index c7216655..fd69a328 100644 --- a/modules/auto-dim-config.el +++ b/modules/auto-dim-config.el @@ -83,6 +83,11 @@ focus cue on a split-displayed dashboard, accepted as a fair trade." (font-lock-builtin-face . (auto-dim-other-buffers . nil)) (font-lock-preprocessor-face . (auto-dim-other-buffers . nil)) (font-lock-warning-face . (auto-dim-other-buffers . nil)) + ;; The built-in link faces, distinct from org-link below. They fontify + ;; links in help, info, and customize buffers. Both carry :underline t, + ;; which survives the relative remap, so a dimmed link still reads as one. + (link . (auto-dim-other-buffers . nil)) + (link-visited . (auto-dim-other-buffers . nil)) ;; Org structure faces flat-dim like font-lock rather than getting ;; -dim variants: the active theme gives org-level-1..8 one shared ;; foreground and no height or weight, so there is no level-by-colour -- cgit v1.2.3