diff options
author | Thanos Apollo <[email protected]> | 2024-03-03 03:39:33 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-03 03:39:33 +0200 |
commit | 59e91d05df42e92cc55bcf8487ef2eb4239f5704 (patch) | |
tree | c38dd3228fcf27519e6767fea2aba939d7b2b14e | |
parent | 3990051bcfb0b98ca2e580f6f3a8d5fd5b9e671e (diff) |
[fix] gnosis-review--update: Return ef properly
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -991,7 +991,7 @@ Returns a list of the form ((yyyy mm dd) (ef-increase ef-decrease ef-total))." "Update review-log for note with value of id ID. SUCCESS is a boolean value, t for success, nil for failure." - (let ((ef (cdr (gnosis-review-algorithm id success))) + (let ((ef (cadr (gnosis-review-algorithm id success))) (next-rev (car (gnosis-review-algorithm id success)))) ;; Update review-log (gnosis-update 'review-log `(= last-rev ',(gnosis-algorithm-date)) `(= id ,id)) |