diff options
author | Thanos Apollo <[email protected]> | 2024-08-06 20:34:52 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-06 20:35:30 +0300 |
commit | dee5ed194c45de6a8c376c28f1b7728cbe1d0982 (patch) | |
tree | 000144884333edc47b0548f7ed19a3abe935a693 | |
parent | 05cfba7d4edfab7822a9cdd59cbfcd7d54fc1cd2 (diff) |
Remove get-deck-ff & get-note-ff.
* ff usage is deprecated.
-rw-r--r-- | gnosis.el | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -721,20 +721,6 @@ If NAME is t, return name of deck." (deck (gnosis-get 'deck-id 'notes id-clause))) (if name (gnosis--get-deck-name deck) deck))) -(defun gnosis-get-deck-ff (id) - "Return failure factor for deck of ID." - (let* ((id-clause `(= id ,id)) - (deck-ff (gnosis-get 'failure-factor 'decks id-clause))) - deck-ff)) - -(defun gnosis-get-note-ff (id) - "Return failure factor for note ID." - (let ((deck-ff (gnosis-get-deck-ff (gnosis-get-deck--note id))) - (note-ff (gnosis-get 'ff 'review `(= id ,id)))) - (if (and deck-ff (> deck-ff note-ff)) - deck-ff - note-ff))) - (cl-defun gnosis-suspend-note (id) "Suspend note with ID." (let ((suspended (= (gnosis-get 'suspend 'review-log `(= id ,id)) 1))) |