diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
commit | 5188fb2251e02b32fd017dc7ba8cd6d0ce892c75 (patch) | |
tree | c79ed2f7b1734ebccc53fa4daee9ed1a5a2862c4 /module/entry-points/import.scm | |
parent | Repair vcomponent describe. (diff) | |
download | calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.gz calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.xz |
Remove (util app).
Diffstat (limited to '')
-rw-r--r-- | module/entry-points/import.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/module/entry-points/import.scm b/module/entry-points/import.scm index 8b2c9008..9e8e3d7b 100644 --- a/module/entry-points/import.scm +++ b/module/entry-points/import.scm @@ -1,13 +1,14 @@ (define-module (entry-points import) :export (main) :use-module (util) - :use-module (util app) :use-module (util options) :use-module (ice-9 getopt-long) :use-module (ice-9 rdelim) :use-module (vcomponent) :use-module (srfi srfi-1) - :use-module (output vdir)) + :use-module (output vdir) + :autoload (vcomponent instance) (get-calendars global-event-object) + ) (define options '((calendar (value #t) (single-char #\c) @@ -27,11 +28,11 @@ (print-arg-help options) (throw 'return)) - (let* ((calendars (getf 'calendars)) + (let* ((calendars (get-calendars global-event-object)) (calendar (and cal-name (find (lambda (c) (string=? cal-name (prop c 'NAME))) - (getf 'calendars))))) + (get-calendars global-event-object))))) (unless calendar (format (current-error-port) "No calendar named ~s~%" cal-name) |