Skip to content

Conversation

@csantosb
Copy link
Contributor

@csantosb csantosb commented Jul 12, 2025

I’m trying to package emacs-vunit-mode for Guix.

Currently, the generated autoloads file cannot compile, and errors, as you may see here.

...
Compiling ‘vunit-mode-autoloads.el’
...
Error: void-variable (vunit-buffer-menu)

This happens only when one attempts to compile the autoloads before the vunit-mode.el file itself: the other way round compiles as expected.

This may be fixed by using

;;;###autoload(autoload 'vunit-buffer-menu/body "vunit-mode")

instead of the default autoload calling.

@csantosb csantosb changed the title Autoload hydra Explicit defhydra autoload Jul 13, 2025
@embed-me
Copy link
Owner

Thank you for the context. That makes sense, we can do that 👍

@embed-me embed-me merged commit b26ecc4 into embed-me:main Jul 14, 2025
90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants