From 730804a41aac213b6d438b56e47699e799b73161 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 20 Feb 2024 13:31:27 +0200 Subject: Add gnosis-dashboard --- gnosis.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnosis.el b/gnosis.el index 9337848..b2a276f 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1399,6 +1399,16 @@ review." tabulated-list-sort-key nil) (tabulated-list-init-header)) +;;;###autoload +(defun gnosis-dashboard () + "Display gnosis dashboard." + (interactive) + (pop-to-buffer "*gnosis-dashboard*" nil) + (gnosis-dashboard-mode) + (setq tabulated-list-entries + (gnosis-dashboard-output-notes)) + (tabulated-list-print t)) + (defun gnosis-db-init () "Create gnosis essential directories & database." (unless (length= (emacsql gnosis-db [:select name :from sqlite-master :where (= type table)]) 6) -- cgit v1.2.3