diff --git a/pkgs/xrepl-pkgs/xrepl-lib/xrepl/xrepl.rkt b/pkgs/xrepl-pkgs/xrepl-lib/xrepl/xrepl.rkt index c391c6f60e..39eb1363f4 100644 --- a/pkgs/xrepl-pkgs/xrepl-lib/xrepl/xrepl.rkt +++ b/pkgs/xrepl-pkgs/xrepl-lib/xrepl/xrepl.rkt @@ -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))