diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:47 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:47 -0500 |
| commit | 55aaff0eaeec8043bab5beefd4077748c4d8b909 (patch) | |
| tree | 1f4c89dcee4ab0b04b825a6c32e4fd195dc2b03e /modules/system-commands.el | |
| parent | 05de8cae2aa738813d86b4a54307562b89b7bce1 (diff) | |
| download | dotemacs-55aaff0eaeec8043bab5beefd4077748c4d8b909.tar.gz dotemacs-55aaff0eaeec8043bab5beefd4077748c4d8b909.zip | |
fix: set vc-follow-symlinks explicitly to t
The line read `(setq-default vc-follow-symlinks)` with no value. That left the variable at nil, so the comment "don't ask to follow symlinks if target is version controlled" was a lie. Opening any version-controlled symlink still prompted.
I checked the Emacs docs first. The value `t` is the one that follows the link without asking, so that's what I set.
I added `tests/test-system-defaults-vc-follow-symlinks.el` as a regression test. It loads the module with the unrelated side effects stubbed and asserts `vc-follow-symlinks` ends up as `t`.
Diffstat (limited to 'modules/system-commands.el')
0 files changed, 0 insertions, 0 deletions
