summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-26 09:52:15 +0200
committerThanos Apollo <[email protected]>2024-01-26 09:52:15 +0200
commitd3ef83c53f0429df62e7f1d4ce8d2fd814c0de74 (patch)
tree6fa71d37ad424df5b6838e6fe7842bda6717ac90 /gnosis.el
parent8313747f679b255721f3207114bc16bfb489a6f4 (diff)
gnosis-get-tags--unique: Use optional flatten argument
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 0098665..c4bae47 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -744,7 +744,7 @@ Optionally, add cusotm PROMPT."
(defun gnosis-get-tags--unique ()
"Return a list of unique strings for tags in `gnosis-db'."
- (cl-loop for tags in (apply #'append (gnosis-select 'tags 'notes))
+ (cl-loop for tags in (gnosis-select 'tags 'notes '1=1 t)
nconc tags into all-tags
finally return (delete-dups all-tags)))