branch: elpa/gnosis
commit 6a52e35deb5f36ee5b741c8488738832a7d31001
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    add-note: Use register to save current window configuration.
---
 gnosis.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnosis.el b/gnosis.el
index 229ce2eda0..e90a358d98 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1900,6 +1900,7 @@ Split content of Hypothesis and Answer headings using 
SEPARATOR."
   (interactive (list
                (gnosis--get-deck-name)
                (downcase (completing-read "Select type: " gnosis-note-types))))
+  (window-configuration-to-register :gnosis-edit)
   (pop-to-buffer "*Gnosis NEW*")
   (with-current-buffer "*Gnosis NEW*"
     (let ((inhibit-read-only 1))

Reply via email to