On Thu, 2022-08-18 at 20:18 +0100, Sam James wrote: > Emacs 29's NEWS says: "The autoload.el library is now obsolete." > > ... > > ${EMACS} ${EMACSFLAGS} \ > + --eval "(require 'autoload)" \ > --eval "(setq make-backup-files nil)" \ > --eval "(setq generated-autoload-file (expand-file-name > \"${f}\"))" \ > -f batch-update-autoloads "${@-.}"
The batch-update-autoloads docstring says that it "calls 'update- directory-autoloads' on the command line arguments." The function update-directory-autoloads is, in turn, obsoleted in favor of loaddefs- generate from loaddefs-gen.el (which replaces autoload.el). Can we bypass the obsolete autoload.el entirely here, instead calling loaddefs-generate directly?