summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-05-30 21:54:34 +0100
committerArun Isaac2023-05-30 21:54:34 +0100
commit6fdb7801b0b6b108b48e1190535767b8584c3e7e (patch)
treeb0be7cfaa7b2ff78ea119d37837ac3b2ded9dcf8
parentb26ea4e1354e0e4d87901856d4bef09ffb548aee (diff)
downloadtissue-6fdb7801b0b6b108b48e1190535767b8584c3e7e.tar.gz
tissue-6fdb7801b0b6b108b48e1190535767b8584c3e7e.tar.lz
tissue-6fdb7801b0b6b108b48e1190535767b8584c3e7e.zip
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.
-rwxr-xr-xbin/tissue3
1 files changed, 1 insertions, 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 <tissue-configuration> object."
- (call-with-input-file "tissue.scm"
- (compose eval-string get-string-all)))
+ (load (canonicalize-path "tissue.scm")))
(define tissue-repl
(match-lambda*