summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 77bbae3..943eff5 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -155,6 +155,10 @@ TAGS are used to organize questions."
(history-add-new-input nil)) ;; Disable history
(completing-read "Answer: " choices)))
+(defun gnosis-review--get-due-notes ()
+ "Get due notes for current date."
+ (gnosis--select 'id 'review-log `(<= next-rev ',(gnosis-algorithm-date))))
+
(defun gnosis-review-mcq-choices (id)
"Display multiple choice answers for question ID."
(let ((answer (gnosis-get 'answer 'notes `(= id ,id)))