aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-20 22:06:00 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-20 22:06:00 +0100
commitb32b297cd6bf2767f980dbe9523ed02a38e0efb7 (patch)
tree4cfc9c5dbef6d9f2803046e8f3aac0428917c647 /module/vcomponent.scm
parentAdd documenttation for javascript rewrite. (diff)
downloadcalp-b32b297cd6bf2767f980dbe9523ed02a38e0efb7.tar.gz
calp-b32b297cd6bf2767f980dbe9523ed02a38e0efb7.tar.xz
Remove re-export-modules
A weird special form which was only used once, and didn't add much clarity above what we actually did.
Diffstat (limited to 'module/vcomponent.scm')
-rw-r--r--module/vcomponent.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/vcomponent.scm b/module/vcomponent.scm
index a53523c0..226b740f 100644
--- a/module/vcomponent.scm
+++ b/module/vcomponent.scm
@@ -7,8 +7,10 @@
:re-export (make-vcomponent
parse-cal-path parse-calendar))
-(re-export-modules (vcomponent base)
- (vcomponent instance methods))
+(define cm (module-public-interface (current-module)))
+(module-use! cm (resolve-interface '(vcomponent base)))
+(module-use! cm (resolve-interface '(vcomponent instance methods)))
+
(define-config calendar-files '()
description: "Which files to parse. Takes a list of paths or a single string which will be globbed."