summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2022-04-14 16:22:23 +0530
committerArun Isaac2022-04-14 16:22:23 +0530
commit85811ab5e6dfbfbcd772eba8a2219061db4c3991 (patch)
treee8045206725e9538625b56ce0ea28138323ae915 /bin
parent19bd6994abf5f13a474fdbaba233dd073ee8284e (diff)
downloadtissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.tar.gz
tissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.tar.lz
tissue-85811ab5e6dfbfbcd772eba8a2219061db4c3991.zip
tissue: Add #:issue-files configuration parameter.
* tissue/tissue.scm: Import (tissue git). (<tissue-configuration>)[issue-files]: New field. (gemtext-files-in-directory): New function. (tissue-configuration): Add #:issue-files keyword argument. * tissue/issue.scm (%issue-files): New public parameter. (issues): Read issues only from files in %issue-files. * bin/tissue (main): Parameterize %issue-files.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tissue3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tissue b/bin/tissue
index c341310..555f114 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -403,7 +403,8 @@ To get usage information for one of these sub-commands, run
(current-error-port))
(newline (current-error-port))
(exit #f)))
- (parameterize ((%aliases (tissue-configuration-aliases (load-config))))
+ (parameterize ((%issue-files (tissue-configuration-issue-files (load-config)))
+ (%aliases (tissue-configuration-aliases (load-config))))
(apply (match command
("news" tissue-news)
("list" tissue-list)