From bc7dd603e6841f49d71c55b7998bb11842184426 Mon Sep 17 00:00:00 2001 From: orgtre Date: Sun, 13 Nov 2022 14:42:36 +0100 Subject: [PATCH] Add keymap for anki-editor-mode Resolves louietan/anki-editor#79 and allows local binding of, for example, the transient interface (orgtre/anki-editor#13). --- anki-editor.el | 1 + 1 file changed, 1 insertion(+) diff --git a/anki-editor.el b/anki-editor.el index 6f06b21..bc3ed84 100644 --- a/anki-editor.el +++ b/anki-editor.el @@ -938,6 +938,7 @@ Return a list of cons of (FIELD-NAME . FIELD-CONTENT)." (define-minor-mode anki-editor-mode "A minor mode for making Anki cards with Org." :lighter " anki-editor" + :keymap (make-sparse-keymap) (if anki-editor-mode (anki-editor-setup-minor-mode) (anki-editor-teardown-minor-mode)))