diff options
author | Thanos Apollo <[email protected]> | 2024-06-16 20:30:15 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-06-16 20:30:15 +0300 |
commit | 772e4aec801da45b40a7ca41533346e4f2751acc (patch) | |
tree | 76808d8ccfb7b52acd8a36f838be0e88339fe2a5 | |
parent | 8d31b7883a19b513dca76572c97f710f27bd1e74 (diff) |
Add gnosis-review-action--override
-rw-r--r-- | gnosis.el | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1357,6 +1357,15 @@ should be recursively called using SUCCESS, NOTE, NOTE-COUNT." (gnosis-suspend-note note) (gnosis-review-actions success note note-count)) +(defun gnosis-review-action--override (success note note-count) + "Override current review result for SUCCESS. + +This function should be used with `gnosis-review-actions', which will +be called with new SUCCESS value plus NOTE & NOTE-COUNT." + (setf success (if success nil t)) + (gnosis-display-next-review note success) + (gnosis-review-actions success note note-count)) + (defun gnosis-review-actions (success note note-count) "Specify action during review of note. |