Fix readline-related compiler warnings.

* gash/gash.scm: Use the readline module at expansion time too, so
that the compiler can see it.
This commit is contained in:
Timothy Sample 2019-05-20 01:01:22 -04:00
parent e86623b642
commit 3d80f05940
1 changed files with 5 additions and 4 deletions

View File

@ -36,10 +36,11 @@
#:use-module (srfi srfi-26)
#:export (main))
(catch #t
(lambda _ (use-modules (ice-9 readline)))
(lambda (key . args)
(use-modules (gash readline))))
(eval-when (expand load eval)
(catch #t
(lambda _ (use-modules (ice-9 readline)))
(lambda (key . args)
(use-modules (gash readline)))))
(define (display-help)
(display (string-append "\