diff options
author | Thanos Apollo <[email protected]> | 2024-07-20 06:50:04 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-07-20 06:50:04 +0300 |
commit | bd403d64412301323f7ebe610773382fbdadb9c2 (patch) | |
tree | 176aec9138bc08c666ffcef9dee5266664f379c7 /gnosis.el | |
parent | a494aa67f527e9f3f8fbd7064ebe0f5601af45df (diff) |
review: Add gnosis-get-new-notes.
* Get new notes for review.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1379,6 +1379,10 @@ well." (cl-loop for note in notes when (gnosis-review-is-due-p note) collect note))) +(defun gnosis-get-new-notes (notes) + "Get new notes from NOTES." + (cl-assert (listp notes) nil "Notes must be a list.") + (cl-intersection notes (gnosis-select 'id 'review-log '(= n 0) t))) (defun gnosis-review-get-due-tags () "Return a list of due note tags." |