Skip to content

Conversation

kisaragi-hiu
Copy link
Contributor

In Emacs 28.1, when find-file-visit-truename, a user option, is non-nil, make-directory-autoloads resolves symlinks in its second argument (as it uses find-file-noselect under the hood) but not in its first. This results in relative paths that are invalid when loaded.

Although this should be fixed in upstream, as Emacs 28.1 is already released and a theoretical upstream fix would only come after an undetermined amount of time, a workaround like this should still be valuable.

…an-software#701)

In Emacs 28.1, when find-file-visit-truename, a user option, is
non-nil, make-directory-autoloads resolves symlinks in its second
argument (as it uses find-file-noselect under the hood) but not in its
first. This results in relative paths that are invalid when loaded.

See radian-software#701, radian-software#944, and upstream bug report
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52292.
@raxod502 raxod502 merged commit 6e13632 into radian-software:develop Jun 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants