branch: elpa/gnosis
commit ef9da610386a56d83a5a4d1564cf868252a26b78
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>
[fix] suspend: Remove deprecated gnosis-suspend-note usage.
---
gnosis.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnosis.el b/gnosis.el
index 0029d6fb4a5..c0e57216eb3 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1312,7 +1312,7 @@ the review session."
This function should be used with `gnosis-review-actions', which
should be recursively called using SUCCESS, NOTE, NOTE-COUNT."
- (gnosis-suspend-note note)
+ (gnosis-toggle-suspend-notes (list note))
(gnosis-review-actions success note note-count))
(defun gnosis-review-action--override (success note note-count)
@@ -2823,8 +2823,7 @@ DASHBOARD-TYPE: either Notes or Decks to display the
respective dashboard."
"Suspend marked note entries."
(interactive)
(when (y-or-n-p "Toggle SUSPEND on selected notes?")
- (cl-loop for note in gnosis-dashboard--selected-ids
- do (gnosis-suspend-note note t))
+ (gnosis-toggle-suspend-notes gnosis-dashboard--selected-ids nil)
(gnosis-dashboard-return)))
(transient-define-suffix gnosis-dashboard-suffix-query (query)