aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/caltable.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:23:44 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:48:22 +0200
commit1976980d4a272fb7fc3694c734bfc6825edfc721 (patch)
tree8460db1176c64895e9968447588953fac85fe7d6 /module/calp/html/caltable.scm
parentRemove all inline use-modules. (diff)
downloadcalp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.gz
calp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.xz
Centralize (almost) all exports to :export in define-module.
Diffstat (limited to 'module/calp/html/caltable.scm')
-rw-r--r--module/calp/html/caltable.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/calp/html/caltable.scm b/module/calp/html/caltable.scm
index c8a225a1..efaf8871 100644
--- a/module/calp/html/caltable.scm
+++ b/module/calp/html/caltable.scm
@@ -6,6 +6,8 @@
:use-module (srfi srfi-41)
:use-module (calp translation)
+
+ :export (cal-table)
)
;; Small calendar similar to the one below.
@@ -30,7 +32,7 @@
;; prev-start and next-start will generate links for the next interval,
;; they can't be infered from start and end date, mostly due to months having
;; different lengths
-(define*-public (cal-table key: start-date end-date next-start prev-start)
+(define* (cal-table key: start-date end-date next-start prev-start)
(define (->link date)
(date->string date "~Y-~m-~d.html"))