diff options
author | Thanos Apollo <[email protected]> | 2024-06-16 20:29:04 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-06-16 20:29:04 +0300 |
commit | 352b2b4aa8658965e67855cd0e9b698c299b6a23 (patch) | |
tree | ef5c2fbf18a7617a2ed7fc1f6cbe529b9a1432b0 | |
parent | 9960c893190e3ce462568f987bad0dde9fc9b07c (diff) |
Add gnosis-review-action--edit
-rw-r--r-- | gnosis.el | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1324,6 +1324,18 @@ NOTE-NUM: The number of notes reviewed in the session." (gnosis-vc-push)) (message "Review session finished. %d notes reviewed." note-num))) +(defun gnosis-review-action--edit (success note note-count) + "Edit NOTE during review. + +Save current contents of *gnosis-edit* buffer, if any, and start +editing NOTE with it's new contents. + +After done editing, call `gnosis-review-actions' with SUCCESS NOTE +NOTE-COUNT." + (gnosis-edit-save-exit) + (gnosis-edit-note note t) + (recursive-edit) + (gnosis-review-actions success note note-count)) (defun gnosis-review-actions (success note note-count) "Specify action during review of note. |