lazy-require ~a

This commit is contained in:
Greg Hendershott 2014-04-09 08:34:54 -04:00 committed by Sam Tobin-Hochstadt
parent 9e99b9cccc
commit 5f2d205602

View File

@ -1165,9 +1165,9 @@
;; ----------------------------------------------------------------------------
;; dynamic log output control
;; defautoload doesn't seem to work with `~a` due to keyword args (?)
;; so do a normal eager require (sorry).
(require (only-in racket/format ~a))
;; defautoload doesn't support keyword args
(require racket/lazy-require)
(lazy-require [racket/format (~a)])
(define current-log-receiver-thread (make-parameter #f))
(define global-logger (current-logger))