[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoloads load file is wrong in Emacs 28 when using symlink
From: |
Jiacai Liu |
Subject: |
Re: autoloads load file is wrong in Emacs 28 when using symlink |
Date: |
Thu, 09 Dec 2021 10:41:01 +0800 |
User-agent: |
mu4e 1.6.2; emacs 27.2 |
Can you report the problem with `M-x report-emacs-bug'
After some search, I found someone else already did this.
- https://lists.gnu.org/r/bug-gnu-emacs/2021-12/msg00376.html
If it helps, below is the step I use to reproduce this issue:
1. mkdir an empty dir, and soft link to emacs config dir
`mkdir /tmp/emacs-conf && ln -s /tmp/emacs-conf $HOME/.emacs.d`
2. (setq find-file-visit-truename t)
3. package-install undo-tree
Then open generated autoloads file for undo-tree under
$HOME/.emacs.d/undo-tree-${version}/undo-tree-autoloads.el,
the content is something like
(autoload 'undo-tree-mode
"../../../../../Users/${username}/.emacs.d/elpa/undo-tree-0.7.5/undo-tree"
"long docsting" t nil)
In Emacs 27, the content is
(autoload 'undo-tree-mode "undo-tree" "long docsting" t nil)