aboutsummaryrefslogtreecommitdiff
path: root/module/util/app.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/util/app.scm')
-rw-r--r--module/util/app.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/util/app.scm b/module/util/app.scm
index e5b03b0f..67725a8c 100644
--- a/module/util/app.scm
+++ b/module/util/app.scm
@@ -38,9 +38,12 @@
[(_ app field value)
(hashq-set! (get-ht app) field (delay value))]))
+;; TODO setting a field should invalidate the cache of all dependant
+;; fields. Among other things allowing a full calendar reload by running
+;; (setf 'calendars (load-calendars ...))
(define-syntax setf
(syntax-rules ()
- ;; special case to use current appp)
+ ;; special case to use current app)
[(_ key value)
(setf% key value)]