summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 2ff1cbf..bf74424 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -271,6 +271,10 @@ Set SPLIT to t to split all input given."
(gnosis--delete 'decks `(= name ,deck))
(message "Deleted deck %s" deck))
+(defun gnosis-suspend-note (id)
+ "Suspend note with ID."
+ (gnosis-update 'review-log `(= suspend 1) `(= id ,id)))
+
(defun gnosis-suspend-deck (&optional deck)
"Suspend all note(s) with DECK id.