From e670c16cfe25393c62f985e302eb35a73a6fb85d Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 26 Jul 2024 18:06:34 +0300 Subject: Rename gnosis--dashboard -> gnosis-dashboard--search. --- gnosis-dashboard.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gnosis-dashboard.el') diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el index 8ac407b..f031787 100644 --- a/gnosis-dashboard.el +++ b/gnosis-dashboard.el @@ -265,9 +265,9 @@ Optionally, use when using multiple months." (gnosis-dashboard-output-decks) (revert-buffer t t t))) (local-set-key (kbd "RET") #'(lambda () "View notes of deck" (interactive) - (gnosis-dashboard "notes" - (gnosis-collect-note-ids - :deck (string-to-number (tabulated-list-get-id))))))) + (gnosis-dashboard--search "notes" + (gnosis-collect-note-ids + :deck (string-to-number (tabulated-list-get-id))))))) (defun gnosis-dashboard-edit-note (&optional dashboard) "Get note id from tabulated list and edit it. @@ -295,8 +295,7 @@ DASHBOARD: Dashboard to return to after editing." (setq tabulated-list-padding 2 tabulated-list-sort-key nil)) -;;;###autoload -(cl-defun gnosis--dashboard (&optional dashboard-type (note-ids nil)) +(cl-defun gnosis-dashboard--search (&optional dashboard-type (note-ids nil)) "Display gnosis dashboard. NOTE-IDS: List of note ids to display on dashboard. When nil, prompt -- cgit v1.2.3