From: Ralph Ronnquist Date: Thu, 13 Apr 2023 10:18:39 +0000 (+1000) Subject: fix load override to admit cotext argument X-Git-Tag: 0.1.0~16 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=53f00efd21447f586486d39d11f5dcc357d3a340;hp=847374b07fb0742fdbb53a1eb9cb0e58a92d5264;p=rrq%2Fnewlisp%2Fpacknl.git fix load override to admit cotext argument --- diff --git a/incore.lsp b/incore.lsp index 5d0bef5..5cd646b 100644 --- a/incore.lsp +++ b/incore.lsp @@ -67,10 +67,10 @@ (constant 'load - (letex (LOAD load) + (letex ((LOAD load) (CTX '(or (and (1 (args)) (args 1)) MAIN))) (fn () (if (archives (args 0)) - (eval-string (archive:get $it (args 0)) MAIN) - (LOAD (args 0))))) + (eval-string (archive:get $it (args 0)) CTX) + (LOAD (args 0) CTX)))) 'read-file (letex (READ-FILE read-file) (fn ()