From 2d1e34d885fc1c66a996b4b4b200e0147742be3f Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 27 Feb 2016 17:44:03 -0800 Subject: [PATCH] Make param:loading? unsettable. --- src/runtime/load.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/runtime/load.scm b/src/runtime/load.scm index 2c5b996cb..d37e3f55a 100644 --- a/src/runtime/load.scm +++ b/src/runtime/load.scm @@ -35,13 +35,13 @@ USA. (make-condition-type 'NOT-LOADING condition-type:error '() "No file being loaded.")) - (set! param:after-load-hooks (make-parameter '())) - (set! param:current-load-environment (make-parameter #!default)) - (set! param:eval-unit (make-parameter #f)) - (set! param:load-init-file? (make-parameter #t)) - (set! param:loading? (make-parameter #f)) - (set! param:suppress-loading-message? (make-parameter #f)) - (set! param:write-notifications? (make-parameter #t)) + (set! param:after-load-hooks (make-settable-parameter '())) + (set! param:current-load-environment (make-settable-parameter #!default)) + (set! param:eval-unit (make-unsettable-parameter #f)) + (set! param:load-init-file? (make-settable-parameter #t)) + (set! param:loading? (make-unsettable-parameter #f)) + (set! param:suppress-loading-message? (make-settable-parameter #f)) + (set! param:write-notifications? (make-unsettable-parameter #t)) (initialize-command-line-parsers) (set! hook/process-command-line default/process-command-line) -- 2.25.1