((environment-lookup (->environment '(ffi)) 'update-html-index) directory))
(define (load-option-quietly name)
- (if (not (name->package (list name)))
+ (if (not (option-loaded? name))
(let ((kernel
(lambda ()
(parameterize* (list (cons param:suppress-loading-message? #t))
name
(find-option (*options*) (*parent*)))))
+(define (option-loaded? name)
+ (not (eq? #f (memq name loaded-options))))
+
(define (define-load-option name . loaders)
(*options* (cons (cons name loaders) (*options*)))
unspecific)