diff options
author | Thanos Apollo <[email protected]> | 2024-01-14 13:11:00 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-14 13:11:00 +0200 |
commit | 4eb6c4cee963512777869aed0bd1e954b9898f1b (patch) | |
tree | 15561af2c87b00f3df9e6fe92adf7e5f4f35f6ae | |
parent | e968a3ec3a264ad928720d9f0c2c856604dcda79 (diff) |
[fix] Fix gnosis-edit-mode-map
Having gnosis-edit-mode-map defined after gnosis-edit-mode does not
work, it needs to be defined before
-rw-r--r-- | gnosis.el | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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. |