aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/ical/types.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/vcomponent/formats/ical/types.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/vcomponent/formats/ical/types.scm')
-rw-r--r--module/vcomponent/formats/ical/types.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/vcomponent/formats/ical/types.scm b/module/vcomponent/formats/ical/types.scm
index 67f9f633..7b6aad2e 100644
--- a/module/vcomponent/formats/ical/types.scm
+++ b/module/vcomponent/formats/ical/types.scm
@@ -6,7 +6,7 @@
:use-module (datetime)
:use-module (datetime timespec)
:use-module (calp translation)
- )
+ :export (escape-chars get-writer))
;; TODO shouldn't these really take vline:s?
@@ -45,7 +45,7 @@
((@ (vcomponent recurrence internal)
recur-rule->rrule-string) value))
-(define-public (escape-chars str)
+(define (escape-chars str)
(define (escape char)
(string #\\ char))
(string-concatenate
@@ -92,6 +92,6 @@
(hashq-set! type-writers 'URI write-uri)
(hashq-set! type-writers 'UTC-OFFSET write-utc-offset)
-(define-public (get-writer type)
+(define (get-writer type)
(or (hashq-ref type-writers type #f)
(error (_ "No writer for type") type)))