From d3ef83c53f0429df62e7f1d4ce8d2fd814c0de74 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 26 Jan 2024 09:52:15 +0200 Subject: gnosis-get-tags--unique: Use optional flatten argument --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit v1.2.3