diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 14:19:45 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 14:19:45 -0500 |
| commit | 595490893cda28a61255ab79c001a7db7fa9aef7 (patch) | |
| tree | f17753f74d1aca3720ce7f32d7f4a860793b4ba8 /modules/prog-lisp.el | |
| parent | 623f8e09b93168c48f98961d963ce62a046b0877 (diff) | |
| download | dotemacs-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/prog-lisp.el')
0 files changed, 0 insertions, 0 deletions
