diff options
author | Thanos Apollo <[email protected]> | 2024-07-23 18:42:28 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-07-23 18:42:28 +0300 |
commit | 538a7d3a500a9a4757e44f086d225a289eb5537d (patch) | |
tree | c47f0127976cea84714427e38f3ee2982949a556 /gnosis.el | |
parent | b0eafe453cab365d1d3d5d534289eba9bfd2b46c (diff) |
New function: review-is-note-new-p
* Check if note ID is a new note.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1614,6 +1614,11 @@ If user-input is equal to CLOZE, return t." (gnosis-display-next-review id success) success)) +(defun gnosis-review-is-note-new-p (id) + "Return t if note with ID is new." + (let ((reviews (car (gnosis-select-id 'n 'review-log id)))) + (not (> reviews 0)))) + (defun gnosis-review-increment-activity-log (new? &optional date) "Increament activity log for DATE by one. |