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 | 875887fc3821869c7ca8f23777e79caa00b3999e (patch) | |
| tree | f0a7985a235bdb68ba0f06f063465a962d98a55d /tests/test-integration-buffer-diff.el | |
| parent | 9acaf3899aedb69300a29a0d0c8b468e5f4ad729 (diff) | |
| download | dotemacs-875887fc3821869c7ca8f23777e79caa00b3999e.tar.gz dotemacs-875887fc3821869c7ca8f23777e79caa00b3999e.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 'tests/test-integration-buffer-diff.el')
0 files changed, 0 insertions, 0 deletions
