From 3df9bb0824627f10c60b6b24edad39411c36e505 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 20 Jul 2024 16:57:02 +0300 Subject: Remove gnosis-get-new-notes * Unused func --- gnosis.el | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gnosis.el b/gnosis.el index dd81ab0..5c3537e 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1386,11 +1386,6 @@ well." collect note))) (append (cl-subseq new-notes 0 gnosis-new-notes-limit) old-notes))) -(defun gnosis-get-new-notes (notes) - "Get new notes from NOTES." - (cl-assert (listp notes) nil "Notes must be a list.") - (cl-intersection notes (gnosis-select 'id 'review-log '(= n 0) t))) - (defun gnosis-review-get-due-tags () "Return a list of due note tags." (let ((due-notes (gnosis-review-get-due-notes))) -- cgit v1.2.3