From 3a9be993adeba9aafc5b8cc4ea03a025ad48505e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 6 Oct 2024 08:19:18 +0300 Subject: Remove validate-actions-keys function. * Custom review keybindings will not be supported anymore. --- gnosis.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gnosis.el') 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. -- cgit v1.2.3