diff options
author | Thanos Apollo <[email protected]> | 2024-04-02 19:27:29 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-04-02 19:27:29 +0300 |
commit | 336bef91edcd233106c9922c9aca7c4ca27966f5 (patch) | |
tree | 6943402e9a57d615eda50807cb85f33bb0ff53f7 /gnosis.el | |
parent | 40c5859332ac0a413ccaf3d074cf592148a034c4 (diff) |
gnosis-tag-prompt: Use error for "No due notes"
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |