From a017fc1b6e83d6585e8be0d60d7b1bc8189a1fd8 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 23 Jul 2024 16:59:14 +0300 Subject: New variable: Add dashboard-search-value. * Hold query value for searching notes. --- gnosis-dashboard.el | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.3