summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-04-02 19:27:29 +0300
committerThanos Apollo <[email protected]>2024-04-02 19:27:29 +0300
commit336bef91edcd233106c9922c9aca7c4ca27966f5 (patch)
tree6943402e9a57d615eda50807cb85f33bb0ff53f7 /gnosis.el
parent40c5859332ac0a413ccaf3d074cf592148a034c4 (diff)
gnosis-tag-prompt: Use error for "No due notes"
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index fed4b0e..757be50 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -931,7 +931,7 @@ MATCH: Require match, t or nil value
DUE: if t, return tags for due notes from `gnosis-due-tags'."
(let ((tags '()))
(cond ((and due (null (gnosis-review-get-due-notes)))
- (message "No due notes."))
+ (error "No due notes"))
(t (cl-loop for tag = (completing-read
(concat prompt (format " (%s) (q for quit): " (mapconcat #'identity tags " ")))
(cons "q" (if due (gnosis-review-get-due-tags)