summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-28 01:51:45 +0200
committerThanos Apollo <[email protected]>2024-02-28 01:51:45 +0200
commit9500c73f55f44ef4f02acea5aa6cb969006bfdcb (patch)
tree19b9cfb7c08d6f58fac3a9ca8aa42fdffe42e2aa /gnosis.el
parent37b3ac8f6bed76d9ad3d84d22ae491f37c1587f5 (diff)
gnosis-edit-save-exit: Kill window
After using read-only values, we can't clear the buffer. We have to kill it and then recreate it for each time we call gnosis-edit-note
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 8244496..53859a8 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1192,7 +1192,7 @@ changes."
"Save edits and exit."
(interactive)
(eval-buffer)
- (quit-window)
+ (quit-window t)
;; exit recursive edit if we are in one
(if (>= (recursion-depth) 1)
(exit-recursive-edit)