((not no-error?) (error "Unknown option name:" name))
(else #f)))
+ (define (notifier option)
+ (named-lambda (notify port)
+ (write-string "Loading " port)
+ (write-string (symbol-name option) port)
+ (write-string " option" port)))
+
(define (load-entry entry)
- (for-each (lambda (thunk) (thunk)) (cdr entry))
+ (with-notification
+ (notifier name)
+ (lambda ()
+ (fluid-let ((load/suppress-loading-message? #t))
+ (for-each (lambda (thunk) (thunk))
+ (cdr entry)))))
(set! loaded-options (cons name loaded-options))
name)