You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
;; A non-nil value prevents the same window from being used for display:
91
-
,pop-up-windows)
92
-
(reusable-frames .
93
-
;; choose any visible frame
94
-
visible)))))))
95
-
(get-buffer buffer-name)))
58
+
(if (and (not select)
59
+
(get-buffer-window buffer-name t))
60
+
;; if the buffer is visible on some frame and the user didn't intend `select', we're done.
61
+
;; This supports e.g. rendering contents to frames that the user might want to remain in the background (e.g. cider-log, cider-auto-inspect-after-eval)
62
+
nil
63
+
(let ((buffer-name (if (bufferp buffer-name) ;; ensure buffer-name is a string
64
+
(buffer-name buffer-name)
65
+
buffer-name)))
66
+
;; if `buffer-name' belongs to `special-display-buffer-names',
67
+
;; delegate to that mechanism the displaying of the buffer,
68
+
;; otherwise the displaying would happen twice (ance through `special-display-buffer-names',
69
+
;; another time through `cider-popup-buffer-display'):
0 commit comments