From 53f00efd21447f586486d39d11f5dcc357d3a340 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Thu, 13 Apr 2023 20:18:39 +1000 Subject: [PATCH] fix load override to admit cotext argument --- incore.lsp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 () -- 2.39.2