Cannot load generated autoload file by `make-directory-autoloads'
When trying to package geiser-chez in Guix, Emacs fails to load the generated autoload file.
;;; geiser-chez-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
;;;### (autoloads nil "geiser-chez" "geiser-chez.el" (0 1 0 0))
;;; Generated autoloads from geiser-chez.el
(geiser-implementation-extension 'chez "def")
(geiser-activate-implementation 'chez)
(autoload 'run-chez "geiser-chez" "\
Start a Geiser Chez REPL." t)
(autoload 'switch-to-chez "geiser-chez" "\
Start a Geiser Chez REPL, or switch to a running one." t)
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "geiser-chez" '("chez" "geiser-chez-")))
;;;***
(provide 'geiser-chez-autoloads)
;; Local Variables:
;; version-control: never
;; no-update-autoloads: t
;; coding: utf-8
;; End:
;;; geiser-chez-autoloads.el ends here
[...]
Compiling /gnu/store/qvqa5g5a54zbj6qhppfqzf62jlhn6gn7-emacs-geiser-chez-0.16/share/emacs/site-lisp/geiser-chez-0.16/geiser-chez-autoloads.el...
In end of data:
geiser-chez-autoloads.el:30:1:Warning: the following functions are not known
to be defined: geiser-implementation-extension,
geiser-activate-implementation
We have to solve this by patching1 the generated autoload file; is there something that upstream could do to solve this issue. I think geiser-racket has the same problem2.
Thanks