diff options
author | Thanos Apollo <[email protected]> | 2024-03-08 08:24:26 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-08 08:33:09 +0200 |
commit | aa50cb27899a11afb1b6d1359bbf3f158a558a97 (patch) | |
tree | 3963e20faf7d1127e3b5b08dc94a04f252dbd3a8 | |
parent | 44b70113293b5c14c023672ae4d71c1f35bddcb6 (diff) |
Add gnosis-get-note-initial-interval
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1449,6 +1449,11 @@ SUSPEND: Suspend note, 0 for unsuspend, 1 for suspend" (let ((initial-interval (gnosis-get 'initial-interval 'decks `(= id ,id)))) (or initial-interval gnosis-algorithm-interval))) +(defun gnosis-get-note-initial-interval (id) + "Return initial-interval for note with ID." + (let ((deck-id (gnosis-get 'deck-id 'notes `(= id ,id)))) + (gnosis-get-deck-initial-interval deck-id))) + (cl-defun gnosis-export-note (id &optional (export-for-deck nil)) "Export fields for note with value of id ID. |