From 6c37a4c00cd420e50d0cd2ad088268bcbb3d9155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 1 Apr 2020 21:01:17 +0200 Subject: Update remaining code to use new config scheme. --- module/entry-points/terminal.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/entry-points/terminal.scm') diff --git a/module/entry-points/terminal.scm b/module/entry-points/terminal.scm index 0f2a85f0..9f486d90 100644 --- a/module/entry-points/terminal.scm +++ b/module/entry-points/terminal.scm @@ -5,7 +5,6 @@ :use-module (ice-9 getopt-long) :use-module (datetime) :use-module (datetime util) - :use-module (util config all) :use-module (vulgar) ) @@ -16,9 +15,8 @@ (define (main args) (define opts (getopt-long args options)) (define-values (calendars events) - (load-calendars - calendar-files: (cond [(option-ref opts 'file #f) => list] - [else (calendar-files)]) )) + (cond [(option-ref opts 'file #f) => (compose load-calendars list)] + [else (load-calendars)])) (let ((date (or (and=> (option-ref opts 'date #f) parse-freeform-date) (current-date)))) -- cgit v1.2.3