X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=8sync%2Fagenda.scm;h=4a126a4e1fddbcf140748f62b7b9861f7d5e03e2;hb=2255f6996a4fbe708b235760816a6dd49959fb6d;hp=3aa43da1eeec85dee0f6d9f9d58abe1d6084b558;hpb=b631d525422b859d5720c5216eb40216eb9b15e9;p=8sync.git diff --git a/8sync/agenda.scm b/8sync/agenda.scm index 3aa43da..4a126a4 100644 --- a/8sync/agenda.scm +++ b/8sync/agenda.scm @@ -62,7 +62,7 @@ stop-on-nothing-to-do %current-agenda-prompt - start-agenda agenda-run-once!)) + run-agenda agenda-run-once!)) ;;; Agenda definition @@ -553,16 +553,14 @@ on suspendable ports." (= 0 (hash-count (const #t) (agenda-write-port-map agenda))))) -(define* (start-agenda agenda - #:key (stop-condition stop-on-nothing-to-do) - ;; For live hacking madness, etc - (post-run-hook #f)) +(define* (run-agenda agenda + #:key (stop-condition stop-on-nothing-to-do) + ;; For live hacking madness, etc + (post-run-hook #f)) ;; TODO: Document fields "Start up the AGENDA" (install-suspendable-ports!) (parameterize ((%current-agenda-prompt (agenda-prompt-tag agenda)) - ;; @@: Couldn't we just parameterize this at the start of - ;; the agenda...? (current-read-waiter wait-for-readable) (current-write-waiter wait-for-writable)) (while (not (stop-condition agenda))