[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnosis 361272c070 3/7: [fix] Adjust dashboard funcs for ne
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnosis 361272c070 3/7: [fix] Adjust dashboard funcs for new values. |
Date: |
Wed, 11 Dec 2024 06:59:58 -0500 (EST) |
branch: elpa/gnosis
commit 361272c070d04f77d875420e05d186e382a65048
Author: Thanos Apollo <public@thanosapollo.org>
Commit: Thanos Apollo <public@thanosapollo.org>
[fix] Adjust dashboard funcs for new values.
* Ids are not as strings in new dashboard implementation.
---
gnosis.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnosis.el b/gnosis.el
index f0168edd8c..c6e12878cb 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -2689,7 +2689,7 @@ Skips days where no note was reviewed."
(interactive)
(if gnosis-dashboard--selected-ids
(gnosis-dashboard-marked-suspend)
- (gnosis-suspend-note (string-to-number (tabulated-list-get-id)))
+ (gnosis-suspend-note (tabulated-list-get-id))
(gnosis-dashboard-output-notes gnosis-dashboard-note-ids)
(revert-buffer t t t)))
@@ -2698,7 +2698,7 @@ Skips days where no note was reviewed."
(interactive)
(if gnosis-dashboard--selected-ids
(gnosis-dashboard-marked-delete)
- (gnosis-delete-note (string-to-number (tabulated-list-get-id)))
+ (gnosis-delete-note (tabulated-list-get-id))
(gnosis-dashboard-output-notes gnosis-dashboard-note-ids)
(revert-buffer t t t)))
@@ -3004,7 +3004,7 @@ DASHBOARD-TYPE: either Notes or Decks to display the
respective dashboard."
(interactive)
(when (y-or-n-p "Delete selected notes?")
(cl-loop for note in gnosis-dashboard--selected-ids
- do (gnosis-delete-note (string-to-number note) t))
+ do (gnosis-delete-note note t))
(gnosis-dashboard-return)))
(defun gnosis-dashboard-marked-suspend ()
@@ -3012,7 +3012,7 @@ DASHBOARD-TYPE: either Notes or Decks to display the
respective dashboard."
(interactive)
(when (y-or-n-p "Toggle SUSPEND on selected notes?")
(cl-loop for note in gnosis-dashboard--selected-ids
- do (gnosis-suspend-note (string-to-number note) t))
+ do (gnosis-suspend-note note t))
(gnosis-dashboard-return)))
(transient-define-suffix gnosis-dashboard-suffix-query (query)
- [nongnu] elpa/gnosis updated (943d9217a4 -> 852c3e25ed), ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis 6bc4d8dde6 4/7: makefile: Update testing & guix packages., ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis e5fd01a34c 6/7: [fix] dashboard-output-notes: typo, ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis 361272c070 3/7: [fix] Adjust dashboard funcs for new values.,
ELPA Syncer <=
- [nongnu] elpa/gnosis 383f8b489d 5/7: Version bump: 0.4.9, ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis 69826fc8f7 2/7: Update NEWS, ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis 852c3e25ed 7/7: [fix] Merge branch 'elpa/gnosis' of nongnu, ELPA Syncer, 2024/12/11
- [nongnu] elpa/gnosis 22a532e645 1/7: dashboard: Improve performance by 97%, ELPA Syncer, 2024/12/11