reader: sxml-reader: Use absolute path when loading Scheme file.
* haunt/reader.scm (sxml-reader): Call 'load' with an absolute file name.
This commit is contained in:
parent
ad9c4b23dd
commit
be627c2cab
|
@ -95,7 +95,7 @@ list must contain a matching reader for every post."
|
|||
(define sxml-reader
|
||||
(make-reader (make-file-extension-matcher "sxml")
|
||||
(lambda (file-name)
|
||||
(let ((contents (load file-name)))
|
||||
(let ((contents (load (absolute-file-name file-name))))
|
||||
(values (alist-delete 'content contents eq?)
|
||||
(assq-ref contents 'content))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue