summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/bog.el b/bog.el
index ead8221..2ccaa32 100644
--- a/bog.el
+++ b/bog.el
@@ -789,7 +789,7 @@ buffer, the narrowing is removed."
(bog--find-citekey-heading-in-notes citekey))))
(if marker
(progn
- (switch-to-buffer (marker-buffer marker))
+ (pop-to-buffer (marker-buffer marker))
(when (or (< marker (point-min))
(> marker (point-max)))
(widen))