summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-01 13:03:02 +0200
committerThanos Apollo <[email protected]>2024-01-01 13:03:02 +0200
commit08d540fc837e156b21ee35e4eeaea1788ea0b3d0 (patch)
treeaa4662e745c852e8e52bf28b39ad0a063aed2c04 /gnosis.el
parente1f1ddba4618ed04115e8368e6c439c49ee6b819 (diff)
gnosis-prompt-tag: Add "q" on options
Fixing issue when having require-match t, user can't select "q"
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 c5d3da7..2d23fd9 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -557,7 +557,7 @@ Returns a list of unique tags."
(match (or match nil)))
(while (not (string= tag "q"))
(setf tag (completing-read (concat prompt (format " %s (q for quit): " tags))
- (gnosis-get-tags--unique) nil match))
+ (cons "q" (gnosis-get-tags--unique)) nil match))
(unless (or (string= tag "q") (member tag tags))
(push tag tags)))
(reverse tags)))