From 1b16f3743946fa18127872a70ed31a04329bd135 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 19 Jan 2024 00:33:45 +0200 Subject: gnosis-review-is-due-p: Redo without if statement --- gnosis.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnosis.el') diff --git a/gnosis.el b/gnosis.el index 2a21252..26e8cdd 100644 --- a/gnosis.el +++ b/gnosis.el @@ -812,10 +812,8 @@ Returns a list of unique tags." "Check if note with value of NOTE-ID for id is due for review. Check if it's suspended, and if it's due today." - (if (and (not (gnosis-suspended-p note-id)) - (gnosis-review-is-due-today-p note-id)) - t - nil)) + (and (not (gnosis-suspended-p note-id)) + (gnosis-review-is-due-today-p note-id))) (defun gnosis-review-is-due-today-p (id) "Return t if note with ID is due today. -- cgit v1.2.3