summaryrefslogtreecommitdiff
path: root/gnosis-dashboard.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis-dashboard.el')
-rw-r--r--gnosis-dashboard.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis-dashboard.el b/gnosis-dashboard.el
index b664e6d..c89f4ea 100644
--- a/gnosis-dashboard.el
+++ b/gnosis-dashboard.el
@@ -193,7 +193,7 @@ Optionally, use REMOVE-SPACES when using multiple months."
(defun gnosis-dashboard-output-notes (note-ids)
"Return NOTE-IDS contents on gnosis dashboard."
(cl-assert (listp note-ids) t "`note-ids' must be a list of note ids.")
- (pop-to-buffer "*gnosis-dashboard*")
+ (pop-to-buffer-same-window "*gnosis-dashboard*")
(gnosis-dashboard-mode)
(setf tabulated-list-format `[("Main" ,(/ (window-width) 4) t)
("Options" ,(/ (window-width) 6) t)
@@ -242,7 +242,7 @@ Optionally, use REMOVE-SPACES when using multiple months."
(defun gnosis-dashboard-output-decks ()
"Return deck contents for gnosis dashboard."
- (pop-to-buffer "*gnosis-dashboard*")
+ (pop-to-buffer-same-window "*gnosis-dashboard*")
(gnosis-dashboard-mode)
(setq tabulated-list-format [("Name" 15 t)
("failure-factor" 15 t)