diff options
author | Thanos Apollo <[email protected]> | 2024-01-01 13:02:25 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-01 13:02:25 +0200 |
commit | e1f1ddba4618ed04115e8368e6c439c49ee6b819 (patch) | |
tree | 6c9b61c88019a09605438d853153b8c284b5c56d /gnosis.el | |
parent | 850c4a94a01471b18bdeee0e9d074ab162cab390 (diff) |
When reviewing by tag, check if note id is suspended
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -533,7 +533,8 @@ Optionally, add cusotm PROMPT." (unless (listp input-tags) (error "`input-tags' need to be a list")) (cl-loop for (id tags) in (emacsql gnosis-db [:select [id tags] :from notes]) - when (cl-every (lambda (tag) (member tag tags)) input-tags) + when (and (cl-every (lambda (tag) (member tag tags)) input-tags) + (not (gnosis-suspended-p id))) collect id)) (defun gnosis-suspended-p (id) |