Closed hongyi-zhao closed 1 year ago
Any tips for fixing it?
Looks like your recipe is calling a function that is no longer available on the version of Emacs you are using.
Error: void-function (update-file-autoloads)
Whenever updating to a new major version of Emacs it's best to skim the NEWS files. In this case, the library for generating autoloads was rewritten in Emacs 29. (See 29 C-h n
and search for "autoloads")
** "loaddefs.el" generation has been reimplemented.
The various "loaddefs.el" files in the Emacs tree (which contain
information about autoloads, built-in packages and package prefixes)
used to be generated by functions in autoloads.el. These are now
generated by loaddefs-gen.el instead. This leads to functionally
equivalent "loaddefs.el" files, but they do not use exactly the same
syntax, so using 'M-x update-file-autoloads' no longer works. (This
didn't work well in most files in the past, either, but it will now
signal an error in any file.)
Once you update your recipe to use the new API everything should work as usual.
Whenever updating to a new major version of Emacs it's best to skim the NEWS files. In this case, the library for generating autoloads was rewritten in Emacs 29. (See
29 C-h n
and search for "autoloads")
The online version is here.
Once you update your recipe to use the new API everything should work as usual.
Thank you for pointing this out. Just remove the autctex repository as follows:
werner@X10DAi:~/.emacs.d/straight/repos$ rm -fr auctex/
Then restart Emacs, and the updating recipe repositories will be performed automatically, which solves this problem.
On Ubuntu 22.10, I compiled the latest git version of Emacs and set the placed the bootstrap code in my init-file. Then when I start Emacs, the error occurred in the following step:
Below is the auctex configuration used by me:
Any tips for fixing it?
Regards, Zhao