diff options
author | Thanos Apollo <[email protected]> | 2024-03-03 03:40:59 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-03 03:40:59 +0200 |
commit | ebc01bc84badad2beb77995c92e9c51e38d4a797 (patch) | |
tree | 2cb13fbf84e0616ac348080cd73c1a7504024f1f | |
parent | f3f3bc148c4d2221ceb12ef67d14db6e8b8300c7 (diff) |
Add gnosis-get-ef-increase
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1351,6 +1351,11 @@ SECOND-IMAGE: Image to display after user-input" "Return a list of ID vlaues for each note with value of deck-id DECK." (gnosis-select 'id 'notes `(= deck-id ,deck) t)) +(defun gnosis-get-ef-increase (id) + "Return ef-increase for note with value of id ID." + (let ((ef-increase (gnosis-get 'ef-increase 'decks `(= id ,(gnosis-get 'deck-id 'notes `(= id ,id)))))) + (or ef-increase gnosis-algorithm-ef-increase))) + (cl-defun gnosis-export-note (id &optional (export-for-deck nil)) "Export fields for note with value of id ID. |