From bd048cbd365fe24e4c67f6247b63b49e03a1661a Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 19 Jan 2024 00:32:00 +0200 Subject: gnsois-suspended-p: Redo without if statement --- gnosis.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gnosis.el b/gnosis.el index efc0321..b1230dd 100644 --- a/gnosis.el +++ b/gnosis.el @@ -756,9 +756,7 @@ Optionally, add cusotm PROMPT." (defun gnosis-suspended-p (id) "Return t if note with ID is suspended." - (if (= (gnosis-get 'suspend 'review-log `(= id ,id)) 1) - t - nil)) + (= (gnosis-get 'suspend 'review-log `(= id ,id)) 1)) (defun gnosis-get-deck-due-notes (&optional deck-id) "Return due notes for deck, with value of DECK-ID. -- cgit v1.2.3