summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-21 18:34:07 +0200
committerThanos Apollo <[email protected]>2024-02-21 18:34:07 +0200
commit8ff330788c29895922ed626266b8095ecbdadde5 (patch)
tree39a60f36323e0f78e317d8a4f3da72cc371ff331 /gnosis.el
parent7cf1ffc223e9dd627ab4bab0fc85166d0980763a (diff)
gnosis-review-note: Create gnosis buffer on the same window
Make it easier for laptop users
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 11a576b..f851263 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1042,7 +1042,7 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face."
(func-name (intern (format "gnosis-review-%s" (downcase type)))))
(if (fboundp func-name)
(progn
- (pop-to-buffer (get-buffer-create "*gnosis*"))
+ (pop-to-buffer-same-window (get-buffer-create "*gnosis*"))
(gnosis-mode)
(funcall func-name id))
(error "Malformed note type: '%s'" type))))