(define (load-ffi-quietly)
(if (not (name->package '(FFI)))
(let ((kernel (lambda ()
- (let-fluids load-option/suppress-loading-message? #t
- load/suppress-loading-message? #t
+ (let-fluid load/suppress-loading-message? #t
(lambda ()
(load-option 'FFI))))))
(if (nearest-cmdl/batch-mode?)
(declare (usual-integrations))
\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?)))
(else #f)))
(define (load-entry entry)
- (let-fluid load/suppress-loading-message? #t
- (lambda ()
- (if load-option/suppress-loading-message?
- (for-each (lambda (thunk) (thunk)) (cdr entry))
- (with-notification
- (named-lambda (load-optoin-notify port)
- (write-string "Loading " port)
- (write-string (symbol-name name) port)
- (write-string " option" port))
- (lambda ()
- (for-each (lambda (thunk) (thunk)) (cdr entry)))))))
+ (for-each (lambda (thunk) (thunk)) (cdr entry))
(set! loaded-options (cons name loaded-options))
name)
(define (initialize-package!)
(set! *options* (make-fluid '()))
- (set! *parent* (make-fluid initial-load-options))
- (set! load-option/suppress-loading-message? (make-fluid #f)))
+ (set! *parent* (make-fluid initial-load-options)))
\f
(define (dummy-option-loader)
unspecific)