summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-03 02:28:16 +0200
committerThanos Apollo <[email protected]>2024-03-03 02:28:26 +0200
commit619970bccb8e097d8de4cf1e023fdf9f377dadf6 (patch)
treecaf24c4be1bd2bdfa96b2d6f5735e8afbc7ac689 /gnosis.el
parentaacca17ea77fc3cda71ee950b9aa27a5a3e2d97a (diff)
gnosis-edit-mode: Remove interactive
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 840523b..2385903 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1286,6 +1286,7 @@ Insert deck values `ef-increase', `ef-decrease', `ef-threshold', `failure-factor
":ef-decrease" ":ef-threshold" ":failure-factor")
(local-unset-key (kbd "C-c C-c"))
(local-set-key (kbd "C-c C-c") (lambda () (interactive) (gnosis-edit-save-exit t 'gnosis-dashboard "Decks")))))
+
(cl-defun gnosis-edit-save-exit (&optional deck-edit (exit-func 'exit-recursive-edit) &rest args)
"Save edits and exit.
@@ -1303,7 +1304,7 @@ gnosis-dashboard."
(define-derived-mode gnosis-edit-mode emacs-lisp-mode "Gnosis EDIT"
"Gnosis Edit Mode."
- :interactive t
+ :interactive nil
:lighter " Gnosis Edit"
:keymap gnosis-edit-mode-map)