aboutsummaryrefslogtreecommitdiff
path: root/modules/dirvish-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 14:19:45 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 14:19:45 -0500
commit595490893cda28a61255ab79c001a7db7fa9aef7 (patch)
treef17753f74d1aca3720ce7f32d7f4a860793b4ba8 /modules/dirvish-config.el
parent623f8e09b93168c48f98961d963ce62a046b0877 (diff)
downloaddotemacs-595490893cda28a61255ab79c001a7db7fa9aef7.tar.gz
dotemacs-595490893cda28a61255ab79c001a7db7fa9aef7.zip
fix(modeline): drop per-render truename, guard vc fetch against signals
The VC modeline cache rebuilt its key every render, and the key included file-truename, so a stat ran on every redisplay rather than once per refresh as the comment claimed. Now it keys on (file show-remote). A moved symlink target is caught at the next TTL refresh, when vc-backend resolves the link fresh. And cj/modeline-vc-fetch is wrapped in condition-case returning nil, so a git signal on a slow or unmounted filesystem degrades to no-VC-info instead of breaking all redisplay.
Diffstat (limited to 'modules/dirvish-config.el')
0 files changed, 0 insertions, 0 deletions