Variable: cider-jump-to-pop-to-buffer-actions

cider-jump-to-pop-to-buffer-actions is a customizable variable defined in cider-common.el.

Value

((display-buffer-reuse-window display-buffer-same-window))

Documentation

Determine what window cider-jump-to uses.

The value is passed as the action argument to pop-to-buffer.

The default value means:

- If the target file is already visible in a window, reuse it (switch to it).
- Otherwise, open the target buffer in the current window.

For further details, see https://docs.cider.mx/cider/config/basic_config.html#control-what-window-to-use-when-jumping-to-a-definition

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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260821.817/cider-common.el
(defcustom cider-jump-to-pop-to-buffer-actions
  '((display-buffer-reuse-window display-buffer-same-window))
  "Determine what window `cider-jump-to' uses.
The value is passed as the `action' argument to `pop-to-buffer'.

The default value means:

- If the target file is already visible in a window, reuse it (switch to it).
- Otherwise, open the target buffer in the current window.

For further details, see https://docs.cider.mx/cider/config/basic_config.html#control-what-window-to-use-when-jumping-to-a-definition"
  :type 'sexp
  :group 'cider
  :package-version '(cider . "0.24.0"))