diff options
author | Thanos Apollo <[email protected]> | 2024-03-03 03:41:08 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-03 03:41:08 +0200 |
commit | 983d84f653b88bc833eb80a4c03e3485f18c53d2 (patch) | |
tree | ebdac23df766d4f2b445eca3ef4bfd9f7f56cc28 /gnosis.el | |
parent | ebc01bc84badad2beb77995c92e9c51e38d4a797 (diff) |
Add gnosis-get-ef-decrease
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1356,6 +1356,11 @@ SECOND-IMAGE: Image to display after user-input" (let ((ef-increase (gnosis-get 'ef-increase 'decks `(= id ,(gnosis-get 'deck-id 'notes `(= id ,id)))))) (or ef-increase gnosis-algorithm-ef-increase))) +(defun gnosis-get-ef-decrease (id) + "Return ef-decrease for note with value of id ID." + (let ((ef-decrease (gnosis-get 'ef-decrease 'decks `(= id ,(gnosis-get 'deck-id 'notes `(= id ,id)))))) + (or ef-decrease gnosis-algorithm-ef-decrease))) + (cl-defun gnosis-export-note (id &optional (export-for-deck nil)) "Export fields for note with value of id ID. |