From 5d74e3fa6f203477610d3f8d8b1838f4b3027ff9 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 23 Jul 2024 18:43:18 +0300 Subject: Review: Increment new note entries. * Use gnosis-review-is-note-new-p with gnosis-review-increment-activity-log to update activity-log properly for total notes & new notes. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index d3673bd..1a425cc 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1489,7 +1489,7 @@ SUCCESS is a boolean value, t for success, nil for failure." (let ((ef (cadr (gnosis-review-algorithm id success))) (next-rev (car (gnosis-review-algorithm id success)))) ;; Update activity-log - (gnosis-review-increment-activity-log) + (gnosis-review-increment-activity-log (gnosis-review-is-note-new-p id)) ;; Update review-log (gnosis-update 'review-log `(= last-rev ',(gnosis-algorithm-date)) `(= id ,id)) (gnosis-update 'review-log `(= next-rev ',next-rev) `(= id ,id)) -- cgit v1.2.3