Skip to content

Commit d5ba9b5

Browse files
authored
Merge pull request #2583 from agzam/cider--find-var-other-window
Fixes cider--find-var-other-window
2 parents a5e2cde + ff971fb commit d5ba9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider-common.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ If OTHER-WINDOW is non-nil don't reuse current window."
138138
(with-no-warnings
139139
(ring-insert find-tag-marker-ring (point-marker)))
140140
(if other-window
141-
(pop-to-buffer buffer)
141+
(pop-to-buffer buffer 'display-buffer-pop-up-window)
142142
;; like switch-to-buffer, but reuse existing window if BUFFER is visible
143143
(pop-to-buffer buffer '((display-buffer-reuse-window display-buffer-same-window))))
144144
(with-current-buffer buffer

0 commit comments

Comments
 (0)