From 6fdb7801b0b6b108b48e1190535767b8584c3e7e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 30 May 2023 21:54:34 +0100 Subject: bin: Actually load config file instead of reading and evaluating it. Reading and evaluating the config file was a hack put in when the config file was read directly from the git repository without checking it out. We need this no longer. Besides, it is an inconvenience because the config file cannot use current-filename. * bin/tissue (load-config): Actually load config file instead of reading and evaluating the read string. --- bin/tissue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/tissue b/bin/tissue index 7dae13e..31ec574 100755 --- a/bin/tissue +++ b/bin/tissue @@ -153,8 +153,7 @@ Show the text of FILE. (define (load-config) "Load configuration and return object." - (call-with-input-file "tissue.scm" - (compose eval-string get-string-all))) + (load (canonicalize-path "tissue.scm"))) (define tissue-repl (match-lambda* -- cgit v1.2.3