From 596ab975d65122c0f160769e871ea814861816f9 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 7 Nov 2024 08:57:13 +0200 Subject: Remove gnosis-review-note-overdue-p * Using this function we have a repeated unnecessary call of #'gnosis-get --- gnosis.el | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gnosis.el') 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. -- cgit v1.2.3