summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-03 03:39:33 +0200
committerThanos Apollo <[email protected]>2024-03-03 03:39:33 +0200
commit59e91d05df42e92cc55bcf8487ef2eb4239f5704 (patch)
treec38dd3228fcf27519e6767fea2aba939d7b2b14e /gnosis.el
parent3990051bcfb0b98ca2e580f6f3a8d5fd5b9e671e (diff)
[fix] gnosis-review--update: Return ef properly
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 0aa67ab..7d51378 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -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))