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:
parent
e86623b642
commit
3d80f05940
|
@ -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 "\
|
||||
|
|
Loading…
Reference in New Issue