Variable: cider-auto-select-buffer

cider-auto-select-buffer is a customizable variable defined in cider-common.el.

Value

t

Documentation

Whether CIDER should select the auxiliary buffers it displays.

This is consulted whenever CIDER pops up a buffer in another window (the error buffer, the test report, the doc buffer, the inspector, and so on): if t, the new window is selected; if nil, the buffer is displayed without stealing focus.

It can also be a list of feature symbols, selecting only those buffers. The recognized symbols are error, test-report, doc, inspector, cheatsheet and log-frameworks.

This option subsumes the older per-feature options (e.g. cider-auto-select-error-buffer), which are obsolete, but still take precedence when customized.

This variable was added, or its default value changed, in cider version 2.0.0.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-common.el
(defcustom cider-auto-select-buffer t
  "Whether CIDER should select the auxiliary buffers it displays.
This is consulted whenever CIDER pops up a buffer in another window (the
error buffer, the test report, the doc buffer, the inspector, and so on):
if t, the new window is selected; if nil, the buffer is displayed without
stealing focus.

It can also be a list of feature symbols, selecting only those buffers.
The recognized symbols are `error', `test-report', `doc', `inspector',
`cheatsheet' and `log-frameworks'.

This option subsumes the older per-feature options (e.g.
`cider-auto-select-error-buffer'), which are obsolete, but still take
precedence when customized."
  :type '(choice (const :tag "Select all popup buffers" t)
                 (const :tag "Never select popup buffers" nil)
                 (repeat :tag "Select only these buffers"
                         (choice (const error)
                                 (const test-report)
                                 (const doc)
                                 (const inspector)
                                 (const cheatsheet)
                                 (const log-frameworks))))
  :group 'cider
  :package-version '(cider . "2.0.0"))