(define (load-ffi-quietly)
(if (not (name->package '(FFI)))
(let ((kernel (lambda ()
- (let-fluid load/suppress-loading-message? #t
+ (let-fluids load-option/suppress-loading-message? #t
+ load/suppress-loading-message? #t
(lambda ()
(load-option 'FFI))))))
(if (nearest-cmdl/batch-mode?)
(declare (usual-integrations))
\f
-(define load-option/suppress-loading-message? #f)
+(define load-option/suppress-loading-message?)
(define (load-option name #!optional no-error?)
(let ((no-error? (and (not (default-object? no-error?)) no-error?)))
(define (notifier option)
(named-lambda (notify port)
- (if (not load-option/suppress-loading-message?)
+ (if (not (fluid load-option/suppress-loading-message?))
(begin
(write-string "Loading " port)
(write-string (symbol-name option) port)
(define (initialize-package!)
(set! *options* (make-fluid '()))
- (set! *parent* (make-fluid initial-load-options)))
+ (set! *parent* (make-fluid initial-load-options))
+ (set! load-option/suppress-loading-message? (make-fluid #f)))
\f
(define (dummy-option-loader)
unspecific)
(files "option")
(parent (runtime))
(export ()
+ load-option/suppress-loading-message?
*initial-options-file*
define-load-option
dummy-option-loader
link-shim
install-shim
install-load-option
- install-html
- load-option/suppress-loading-message?)
+ install-html)
(initialization (initialize-package!)))
(define-package (runtime program-copier)