summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-11-07 08:57:13 +0200
committerThanos Apollo <[email protected]>2024-11-07 10:12:24 +0200
commit596ab975d65122c0f160769e871ea814861816f9 (patch)
tree419a5b4c25a6301785ecf52104640751bbbb16ff
parent7f6dd4e2b0f78083fc296589bb1a298bb4bac355 (diff)
Remove gnosis-review-note-overdue-p
* Using this function we have a repeated unnecessary call of #'gnosis-get
-rw-r--r--gnosis.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/gnosis.el b/gnosis.el
index 79de8e7..6106114 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1453,14 +1453,6 @@ QUERY: String value,"
;; Review
;;;;;;;;;;
-(defun gnosis-review-note-overdue-p (id)
- "Return t if note with ID is overdue.
-
-This function is meant to be used with today's due notes, using
-`gnosis-review-get-due-notes'."
- (let ((due-date (gnosis-get 'next-rev 'review-log `(= id ,id))))
- (not (equal due-date (gnosis-algorithm-date)))))
-
(defun gnosis-review-is-due-p (note-id)
"Check if note with value of NOTE-ID for id is due for review.