tests: Hide quoted (define-module ...) form from Geiser.

* tests/gexp.scm (%extension-package): Split (define-module ...) form to
fool Geiser.
This commit is contained in:
Ludovic Courtès 2020-05-25 16:04:33 +02:00
parent 6115ab1d20
commit e033700f17
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@
(mkdir-p out)
(call-with-output-file (string-append out "/hg2g.scm")
(lambda (port)
(write '(define-module (hg2g)
(define defmod 'define-module) ;fool Geiser
(write `(,defmod (hg2g)
#:export (the-answer))
port)
(write '(define the-answer 42) port)))))))))