summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-04-17 12:37:18 +0300
committerThanos Apollo <[email protected]>2024-04-17 12:37:18 +0300
commit3cba3ae7e49e9024a8dd95148383816f0efc80bd (patch)
treebc22221b21907202b6ecc0c3a5bef0489ca50559 /gnosis.el
parentfa51be84b76ebf8616aa10097030abf32264885e (diff)
[fix] gnosis-dashboard: Fix deprecated suspend use
- Use gnosis-dashboard-note-ids
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnosis.el b/gnosis.el
index 2908643..f124017 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1670,9 +1670,8 @@ QUERY: String value,"
;; or decks.
(local-set-key (kbd "e") #'gnosis-dashboard-edit-note)
(local-set-key (kbd "s") #'(lambda () (interactive)
- (gnosis-suspend-note
- (string-to-number (tabulated-list-get-id)))
- (gnosis-dashboard-output-notes)
+ (gnosis-suspend-note (string-to-number (tabulated-list-get-id)))
+ (gnosis-dashboard-output-notes gnosis-dashboard-note-ids)
(revert-buffer t t t)))
(local-set-key (kbd "a") #'gnosis-add-note)
(local-set-key (kbd "r") #'gnosis-dashboard))