emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnosis 596ab975d6 2/8: Remove gnosis-review-note-overdue-p


From: ELPA Syncer
Subject: [nongnu] elpa/gnosis 596ab975d6 2/8: Remove gnosis-review-note-overdue-p
Date: Thu, 7 Nov 2024 04:00:31 -0500 (EST)

branch: elpa/gnosis
commit 596ab975d65122c0f160769e871ea814861816f9
Author: Thanos Apollo <public@thanosapollo.org>
Commit: Thanos Apollo <public@thanosapollo.org>

    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(-)

diff --git a/gnosis.el b/gnosis.el
index 79de8e73d0..610611451b 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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]