diff options
author | Thanos Apollo <[email protected]> | 2024-02-20 13:26:55 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-20 13:26:55 +0200 |
commit | f5fa43148cd2f6f10a3064933aa41f9d7c3df144 (patch) | |
tree | 7201974bc6a15cbad0c654774bb96a60292ad8b9 /gnosis.el | |
parent | 50a05e728f034d3fba22d9d1c318897e95f2c3e3 (diff) |
gnosis-edit-save-exit: Exit recursive edit IF we are in one
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1128,7 +1128,10 @@ changes." (interactive) (eval-buffer) (kill-buffer) - (exit-recursive-edit)) + ;; exit recursive edit if we are in one + (if (>= (recursion-depth) 1) + (exit-recursive-edit) + (gnosis-dashboard))) (defvar-keymap gnosis-edit-mode-map :doc "gnosis-edit keymap" |