The usual error message for when you forgot to import a variable only includes a suggestion for when you use (use-modules (...)) but not the #:use-module case that is used with the (define-module) syntax. This patch extends the error message so you can easily copy and paste it into the module definition.