diff options
author | Thanos Apollo <[email protected]> | 2024-11-07 08:57:13 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-11-07 10:12:24 +0200 |
commit | 596ab975d65122c0f160769e871ea814861816f9 (patch) | |
tree | 419a5b4c25a6301785ecf52104640751bbbb16ff | |
parent | 7f6dd4e2b0f78083fc296589bb1a298bb4bac355 (diff) |
Remove gnosis-review-note-overdue-p
* Using this function we have a repeated unnecessary call of
#'gnosis-get
-rw-r--r-- | gnosis.el | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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. |