From 6051ee407ce44df36b9b2d8c10f22298f7b35ddc Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Tue, 6 Aug 2024 23:44:14 +0300 Subject: review: Remove note-count from commits. --- gnosis.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gnosis.el b/gnosis.el index a7921cb..5a25a2c 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1726,7 +1726,7 @@ NOTE-COUNT." (recursive-edit) (gnosis-review-actions success note note-count)) -(defun gnosis-review-action--quit (success note note-count) +(defun gnosis-review-action--quit (success note) "Quit review session. Update result for NOTE review with SUCCESS and commit session for NOTE-COUNT. @@ -1734,8 +1734,7 @@ Update result for NOTE review with SUCCESS and commit session for NOTE-COUNT. This function should be used with `gnosis-review-actions', to finish the review session." (gnosis-review-result note success) - (gnosis-review-commit note-count) - ;; Break the loop of `gnosis-review-session' + ;; Break the review loop of `gnosis-review-session' (throw 'review-loop t)) (defun gnosis-review-action--suspend (success note note-count) @@ -1781,7 +1780,7 @@ To customize the keybindings, adjust `gnosis-review-keybindings'." ("override" (gnosis-review-action--override success note note-count)) ("suspend" (gnosis-review-action--suspend success note note-count)) ("edit" (gnosis-review-action--edit success note note-count)) - ("quit" (gnosis-review-action--quit success note note-count))))) + ("quit" (gnosis-review-action--quit success note))))) (defun gnosis-review-session (notes &optional due note-count) "Start review session for NOTES. -- cgit v1.2.3