summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnosis.el b/gnosis.el
index 2ce038e..f58e851 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1132,6 +1132,9 @@ changes."
(kill-buffer)
(exit-recursive-edit))
+(defvar-keymap gnosis-edit-mode-map
+ :doc "gnosis-edit keymap"
+ "C-c C-c" #'gnosis-edit-save-exit)
(define-derived-mode gnosis-edit-mode emacs-lisp-mode "Gnosis EDIT"
"Gnosis Edit Mode."
@@ -1139,10 +1142,6 @@ changes."
:lighter " gnosis-edit-mode"
:keymap gnosis-edit-mode-map)
-(defvar-keymap gnosis-edit-mode-map
- :doc "gnosis-edit keymap"
- "C-c C-c" #'gnosis-edit-save-exit)
-
(cl-defun gnosis-edit-update-note (&key id main options answer tags (extra-notes nil) (image nil) (second-image nil))
"Update note with id value of ID.