fix gui-available?' when
racket/gui/base' is declared but not instantiated
This commit is contained in:
parent
1f66d545c0
commit
200f5cb80a
|
@ -17,6 +17,8 @@
|
||||||
;; Fails if `mred/private/dynamic' is not declared
|
;; Fails if `mred/private/dynamic' is not declared
|
||||||
;; (without loading it if not):
|
;; (without loading it if not):
|
||||||
(module->language-info 'mred/private/dynamic #f)
|
(module->language-info 'mred/private/dynamic #f)
|
||||||
|
;; Fails if `mred/private/dynamic' is not instantiated:
|
||||||
|
(namespace-attach-module (current-namespace) 'mred/private/dynamic)
|
||||||
;; Double check that it seems to have started ok:
|
;; Double check that it seems to have started ok:
|
||||||
(eq? (dynamic-require 'mred/private/dynamic 'kernel-initialized)
|
(eq? (dynamic-require 'mred/private/dynamic 'kernel-initialized)
|
||||||
'done))))
|
'done))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user