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)
|
#:use-module (srfi srfi-26)
|
||||||
#:export (main))
|
#:export (main))
|
||||||
|
|
||||||
(catch #t
|
(eval-when (expand load eval)
|
||||||
(lambda _ (use-modules (ice-9 readline)))
|
(catch #t
|
||||||
(lambda (key . args)
|
(lambda _ (use-modules (ice-9 readline)))
|
||||||
(use-modules (gash readline))))
|
(lambda (key . args)
|
||||||
|
(use-modules (gash readline)))))
|
||||||
|
|
||||||
(define (display-help)
|
(define (display-help)
|
||||||
(display (string-append "\
|
(display (string-append "\
|
||||||
|
|
Loading…
Reference in New Issue