diff options
author | Thanos Apollo <[email protected]> | 2023-12-18 02:54:53 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-18 02:54:53 +0200 |
commit | 1e1e7cbb7cf0d558421624c5d8ff5fbffa7e2aff (patch) | |
tree | 23562e4d6d1d57e8a9466b11f660180fdc635d4d /gnosis.el | |
parent | dd3759f27e66b03144807e6d2d937928b0c18b32 (diff) |
Add gnosis-review--get-due-notes
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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))) |