summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-07 10:14:45 +0300
committerThanos Apollo <[email protected]>2024-05-07 10:14:45 +0300
commitf48cc631679abe7d7bd4b058425fe701d6f3d797 (patch)
treec4df7115520527e2a4444a1ede151b655de9b2d8 /gnosis.el
parentdc18fc8c254875e646fcebbb6a6d8380735f8658 (diff)
[Fix] review: Update note upon session quit
Previous implementation would not update note value for success upon review
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index a67c80b..eeb39be 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1299,7 +1299,8 @@ NOTES: List of note ids"
(?e (gnosis-review--update note success)
(gnosis-edit-note note t)
(recursive-edit))
- (?q (gnosis-review-commit note-count)
+ (?q (gnosis-review--update note success)
+ (gnosis-review-commit note-count)
(cl-return)))
(setq gnosis-due-notes-total (length (gnosis-review-get-due-notes))))
finally (gnosis-review-commit note-count))))))