summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-05-30 21:59:08 +0100
committerArun Isaac2023-05-30 22:00:46 +0100
commit7590d6d8ec1a5c688dd5b40c2ba39a55f0961088 (patch)
tree36fa83f9e22d97d4d78691cf9aa5b6c9e5b83e66
parent6fdb7801b0b6b108b48e1190535767b8584c3e7e (diff)
downloadtissue-7590d6d8ec1a5c688dd5b40c2ba39a55f0961088.tar.gz
tissue-7590d6d8ec1a5c688dd5b40c2ba39a55f0961088.tar.lz
tissue-7590d6d8ec1a5c688dd5b40c2ba39a55f0961088.zip
tissue.scm: Add current directory to load path.
Prior to this commit, tissue would be unable to find (doc skribilo) during indexing and crash. * tissue.scm: Add current directory to load path. Bug reported by: Morgan Smith <Morgan.J.Smith@outlook.com>
-rw-r--r--tissue.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tissue.scm b/tissue.scm
index 24fbd92..eb31c45 100644
--- a/tissue.scm
+++ b/tissue.scm
@@ -1,6 +1,10 @@
(use-modules (tissue skribilo)
(tissue web themes default))
+;; Add current directory to load path so that (doc skribilo) can be
+;; found when indexing doc/tissue.skb.
+(add-to-load-path (dirname (current-filename)))
+
(define %css
"/style.css")