summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index abe9dfb..c5d3da7 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -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)