diff options
author | Thanos Apollo <[email protected]> | 2024-01-19 00:33:45 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-19 00:33:45 +0200 |
commit | 1b16f3743946fa18127872a70ed31a04329bd135 (patch) | |
tree | d9db3df1bbff8d2c3cf1625ba1fe0aa6081c88f7 /gnosis.el | |
parent | c8257934d341605a52848744b7dc15774b40d4b5 (diff) |
gnosis-review-is-due-p: Redo without if statement
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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. |