Subject: bug#52292: 29.0.50; when ~/.emacs.d is a relative symlink to ~/foo/bar, (setq find-file-visit-truename t) causes package-install to generate incorrect autoloads

From: Jorge Israel Peña <[email-masked]>
Date: Sat, 9 Apr 2022 19:02:18 -0700

I am also observing this on Windows with Emacs 28. Reverting to Emacs 27.2
resolved the issue.

I was also able to work around this issue on Emacs 28 by using an
around-advice similar to the one provided by Faerryn but tailored for
straight.el, wrapping function straight--build-autoloads.

You can find other users running into this problem in this straight.el
issue: https://github.com/raxod502/straight.el/issues/701