Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

straight--build-autoloads: Ensure output symlink isn't resolved (#701) #945

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kisaragi-hiu
Copy link

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.
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.

None yet

1 participant