Function: cider-auto-select-buffer-p

cider-auto-select-buffer-p is a byte-compiled function defined in cider-common.el.

Signature

(cider-auto-select-buffer-p FEATURE LEGACY-VALUE)

Documentation

Whether the FEATURE popup buffer should be selected when displayed.

Consults cider-auto-select-buffer, unless LEGACY-VALUE (the value of FEATURE's obsolete auto-select option) is something other than the symbol default, in which case LEGACY-VALUE takes precedence.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-common.el
(defun cider-auto-select-buffer-p (feature legacy-value)
  "Whether the FEATURE popup buffer should be selected when displayed.
Consults `cider-auto-select-buffer', unless LEGACY-VALUE (the value of
FEATURE's obsolete auto-select option) is something other than the symbol
`default', in which case LEGACY-VALUE takes precedence."
  (cond ((not (eq legacy-value 'default)) legacy-value)
        ((listp cider-auto-select-buffer) (memq feature cider-auto-select-buffer))
        (t cider-auto-select-buffer)))