Set $current-noise-port to null-output-port during switch evaluation.
This commit is contained in:
parent
a6320a93a9
commit
e2eeaa4789
|
@ -31,10 +31,13 @@
|
|||
;;; ensure-loaded and load-into now write to noise-port anyway
|
||||
|
||||
(define (load-quietly filename p)
|
||||
(load-into filename p))
|
||||
(let-fluid $current-noise-port (make-null-output-port)
|
||||
(lambda () (load-into filename p))))
|
||||
|
||||
(define (really-ensure-loaded noise . structs)
|
||||
(apply ensure-loaded structs))
|
||||
(let-fluid $current-noise-port (make-null-output-port)
|
||||
(lambda ()
|
||||
(apply ensure-loaded structs))))
|
||||
|
||||
;;; The switches:
|
||||
;;; -o <struct> Open the structure in current package.
|
||||
|
|
Loading…
Reference in New Issue