aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points/import.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-30 01:58:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-07 13:10:38 +0200
commit715e36ab81389ebf53ea158027d0a83f144eee0e (patch)
tree1e9522ba3bf4aef212d0b1d179e9bf1db2e6f60b /module/entry-points/import.scm
parentRename attributes => properties, properties => parameters. (diff)
downloadcalp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.gz
calp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.xz
Finished renamining attribute to property.
Diffstat (limited to 'module/entry-points/import.scm')
-rw-r--r--module/entry-points/import.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/entry-points/import.scm b/module/entry-points/import.scm
index 3d372f8a..cc67b448 100644
--- a/module/entry-points/import.scm
+++ b/module/entry-points/import.scm
@@ -30,7 +30,7 @@
(let* ((calendars (getf 'calendars))
(calendar
(and cal-name
- (find (lambda (c) (string=? cal-name (attr c 'NAME)))
+ (find (lambda (c) (string=? cal-name (prop c 'NAME)))
(getf 'calendars)))))
(unless calendar
@@ -41,7 +41,7 @@
(format #t "About to the following ~a events into ~a~%~{~a~^~%~}~%"
(length (children new-events))
- (attr calendar 'NAME)
+ (prop calendar 'NAME)
(map (extract 'SUMMARY) (children new-events)))
(format #t "Continue? [Y/n] ")