From 59e91d05df42e92cc55bcf8487ef2eb4239f5704 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 3 Mar 2024 03:39:33 +0200 Subject: [fix] gnosis-review--update: Return ef properly --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3