diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guile/skribilo/package/base.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guile/skribilo/package/base.scm b/src/guile/skribilo/package/base.scm index fa89c81..2e5ab65 100644 --- a/src/guile/skribilo/package/base.scm +++ b/src/guile/skribilo/package/base.scm @@ -68,6 +68,12 @@ (invalid-argument-error 'include file 'file)) (include-document file)) +(cond-expand + (guile-2 + ;; On Guile 2.x, replace the 'include' core binding. + (module-replace! (current-module) '(include))) + (else #t)) + ;*---------------------------------------------------------------------*/ ;* document ... */ ;*---------------------------------------------------------------------*/ |