diff options
author | Thanos Apollo <[email protected]> | 2024-06-16 20:31:07 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-06-16 20:31:07 +0300 |
commit | 9b0415cf7590d0185d76fc99f454b4069e77b83a (patch) | |
tree | b9d60ef685d23cd1efd9a79170114cf2f58c6e4b /gnosis.el | |
parent | 772e4aec801da45b40a7ca41533346e4f2751acc (diff) |
Refactor gnosis-review-actions
Use gnosis-review-action--FUNC functions, breaking this into smaller
parts & ensuring everything works properly.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 15 |
1 files changed, 4 insertions, 11 deletions
@@ -1380,17 +1380,10 @@ NOTE-COUNT: Total notes reviewed" (?e "edit") (?q "quit")))) (?n (gnosis-review-result note success)) - (?o (setf success (if success nil t)) - (gnosis-display-next-review note success) - (gnosis-review-actions success note note-count)) - (?s (gnosis-suspend-note note)) - (?e (gnosis-edit-note note t) - (recursive-edit) - (gnosis-review-actions success note note-count)) - (?q (gnosis-review-result note success) - (gnosis-review-commit note-count) - ;; Break the loop of `gnosis-review-session' - (throw 'stop-loop t)))) + (?o (gnosis-review-action--override success note note-count)) + (?s (gnosis-review-action--suspend success note note-count)) + (?e (gnosis-review-action--edit success note note-count)) + (?q (gnosis-review-action--quit success note note-count)))) (defun gnosis-review-session (notes) "Start review session for NOTES. |