Variable: cider-eval-result-display

cider-eval-result-display is a customizable variable defined in cider-overlays.el.

Value

both

Documentation

Where to display interactive evaluation results.

If overlay, show the result in an overlay (positioned per cider-eval-result-position). If echo, show it in the echo area. If both (the default), show it in both places. If errors-only, use an overlay only for error results and the echo area for everything else.

For backward compatibility the legacy values t (overlay) and nil (echo) are still accepted.

Only applies to evaluation commands. To configure the debugger overlays, see cider-debug-use-overlays.

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

Aliases

cider-use-overlays (obsolete since 2.0.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-overlays.el
(defcustom cider-eval-result-display 'both
  "Where to display interactive evaluation results.
If `overlay', show the result in an overlay (positioned per
`cider-eval-result-position').
If `echo', show it in the echo area.
If `both' (the default), show it in both places.
If `errors-only', use an overlay only for error results and the echo area for
everything else.

For backward compatibility the legacy values t (overlay) and nil (echo) are
still accepted.

Only applies to evaluation commands.  To configure the debugger overlays,
see `cider-debug-use-overlays'."
  :type '(choice (const :tag "Overlay" overlay)
                 (const :tag "Echo area" echo)
                 (const :tag "Both" both)
                 (const :tag "Overlay for errors only" errors-only))
  :group 'cider
  :package-version '(cider . "2.0.0"))