summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-10-06 08:19:18 +0300
committerThanos Apollo <[email protected]>2024-10-06 08:19:18 +0300
commit3a9be993adeba9aafc5b8cc4ea03a025ad48505e (patch)
tree05a1a1eb682a5f49345b4328a3b53ae74eab9f95 /gnosis.el
parentc246c3abb1674e1dfd6190406781a723f25f5cc7 (diff)
Remove validate-actions-keys function.
* Custom review keybindings will not be supported anymore.
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/gnosis.el b/gnosis.el
index 2b4ddbc..73cdebd 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1789,13 +1789,6 @@ be called with new SUCCESS value plus NOTE & NOTE-COUNT."
(gnosis-display-next-review note success)
(gnosis-review-actions success note note-count))
-(defun gnosis-validate-actions-keys ()
- "Ensure all actions in `gnosis-review-actions-keys` are valid."
- (let ((valid-actions '("next" "override" "suspend" "edit" "quit")))
- (dolist (entry gnosis-review-keybindings)
- (cl-assert (member (cdr entry) valid-actions) nil
- "Invalid action: %s" (cdr entry)))))
-
(defun gnosis-review-actions (success note note-count)
"Specify action during review of note.