diff options
author | Thanos Apollo <[email protected]> | 2024-01-01 12:50:10 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-01 12:50:10 +0200 |
commit | e7e0ba9fcc65e047ee8a2d4a8dd1a3a6d0c55980 (patch) | |
tree | 3673465aba3a2549de8c892ae3e5e41dd44cd2f5 /gnosis.el | |
parent | 5ae6516d6087b09b08800e89b63b0fd3ebf05315 (diff) |
Add gnosis-suspend-note
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |