summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-23 16:59:14 +0300
committerThanos Apollo <[email protected]>2024-07-23 16:59:14 +0300
commita017fc1b6e83d6585e8be0d60d7b1bc8189a1fd8 (patch)
treee3dec2c483aa2d71819e6d8c0b8ac67f851711ac
parent3394bcd0ea04e2655084c339269828e04ca008d8 (diff)
New variable: Add dashboard-search-value.
* Hold query value for searching notes.
-rw-r--r--gnosis-dashboard.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el
index 3e8c12e..c88f919 100644
--- a/gnosis-dashboard.el
+++ b/gnosis-dashboard.el
@@ -49,6 +49,9 @@
(defvar gnosis-dashboard-note-ids nil
"Store note ids for dashboard.")
+(defvar gnosis-dashboard-search-value nil
+ "Store search value.")
+
(defun gnosis-dashboard-output-note (id)
"Output contents for note with ID, formatted for gnosis dashboard."
(cl-loop for item in (append (gnosis-select '[main options answer tags type] 'notes `(= id ,id) t)