diff options
author | Thanos Apollo <[email protected]> | 2024-07-26 18:06:34 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-07-26 18:08:05 +0300 |
commit | e670c16cfe25393c62f985e302eb35a73a6fb85d (patch) | |
tree | 23f61afe4208a3780d5c7d9626534300c716bfa4 | |
parent | 4318b35583481fb3fdbdbc332499607eb6fede12 (diff) |
Rename gnosis--dashboard -> gnosis-dashboard--search.
-rw-r--r-- | gnosis-dashboard.el | 9 |
1 files changed, 4 insertions, 5 deletions
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 |