Conversation
|
Hi. Thanks for this PR. Some test fail: with message: @hendriktews @monnier do you have an idea? Why would autoloads mess with this? |
The test test-coq-par-job-needs-compilation-quick now and then fails sporadically. Here it tries to create 2 files with the same timestamp in order to check a corner case in the old style quick (vio) compilation. The test gave up after 8 attempts to create the setting for this corner case failed. So this one is an error in the test. |
|
Neither can I re-run the CI. Probably because it is more than 30 days old. We should definitely be more reactive :-(. |
Without this, Emacs 31 fails to apply `make autoloads` with the following error.
$ make autoloads
***** MAKING AUTOGENERATED AUTOLOADS ****
emacs -batch -q -no-site-file -eval '(setq autoload-package-name "proof" generated-autoload-file "/Users/ianwahbe/.emacs.d/.cache/elpaca/repos/PG/generic/proof-autoloads.el")' -f batch-update-autoloads generic/ lib/ coq/ qrhl/
Error: void-function (batch-update-autoloads)
batch-update-autoloads()
command-line-1(("-eval" "(setq autoload-package-name \"proof\" generated-autoload-file \"/Users/ianwahbe/.emacs.d/.cache/elpaca/repos/PG/generic/proof-autoloads.el\")" "-f" "batch-update-autoloads" "generic/" "lib/" "coq/" "qrhl/"))
command-line()
normal-top-level()
debug-early-backtrace...done
Symbol’s function definition is void: batch-update-autoloads
gmake: *** [Makefile.devel:249: autoloads] Error 255
d20009c to
2b1f289
Compare
|
Rebased and waiting approval. |
|
Indeed the rerun went well. |
|
Thanks for this contribution! Yes, please go ahead! |
This PR makes 2 changes:
-*- lexical-binding: t; -*-togeneric/proof-autoloads.el. This is preserved bymake autoloads, so no other change is needed to address Emacs 31 warns on missing lexical bindings forgeneric/proof-autoloads.el#845.(require 'autoload)to the command formake autoloads, sinceautoloadis not required by default in Emacs 31 (and possibly earlier).Fixes #845