summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-10 08:45:57 +0200
committerThanos Apollo <[email protected]>2024-01-10 08:45:57 +0200
commit859278628cce072e7ce5cc00d1d7895d926565e0 (patch)
tree55aec4d6985e680444c27b97a065b6b0d9b65b78 /gnosis.el
parentbb06ea04052e82efe61312cb7aaa5f03632e3209 (diff)
gnosis-edit-mode-map: Use exit-recursive-edit instead of throw 'exit
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 12c8d7f..6f3c0cc 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1049,7 +1049,7 @@ changes."
(defvar-keymap gnosis-edit-mode-map
:doc "gnosis-edit keymap"
- "C-c C-c" #'(lambda () (interactive) (eval-buffer) (kill-buffer) (throw 'exit nil)))
+ "C-c C-c" #'(lambda () (interactive) (eval-buffer) (kill-buffer) (exit-recursive-edit)))
(cl-defun gnosis-edit-update-note (&key id main options answer tags (extra-notes nil) (image nil) (second-image nil))