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

fix: Use loaddefs-generate if available (Emacs 29+) #676

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

kaushalmodi
Copy link
Owner

Ref:
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?id=d6831d1b0a18882d688a842721dd1592884a06e2#n487

Fixes #667.


From the NEWS file updates for Emacs 29:

---
** The autoload.el library is now obsolete.
It is superseded by the loaddefs-gen.el library.

+++
** "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 "loaddef.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.)

@kaushalmodi kaushalmodi merged commit d10382a into main Oct 7, 2022
@kaushalmodi kaushalmodi deleted the use-loaddefs-generate-if-available branch October 7, 2022 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

void-function update-directory-autoload
1 participant