<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-system-defaults-vc-follow-symlinks.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-04T00:10:47+00:00</updated>
<entry>
<title>fix: set vc-follow-symlinks explicitly to t</title>
<updated>2026-05-04T00:10:47+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-04T00:10:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=875887fc3821869c7ca8f23777e79caa00b3999e'/>
<id>urn:sha1:875887fc3821869c7ca8f23777e79caa00b3999e</id>
<content type='text'>
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`.
</content>
</entry>
</feed>
