Variable: cider-repl-prompt-function
cider-repl-prompt-function is a customizable variable defined in
cider-repl.el.
Value
cider-repl-prompt-default
Documentation
A function that returns a prompt string.
Takes one argument, a namespace name.
For convenience, three functions are already provided for this purpose:
cider-repl-prompt-lastname, cider-repl-prompt-abbreviated, and
cider-repl-prompt-default.
This variable was added, or its default value changed, in cider version 0.9.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-repl.el
(defcustom cider-repl-prompt-function #'cider-repl-prompt-default
"A function that returns a prompt string.
Takes one argument, a namespace name.
For convenience, three functions are already provided for this purpose:
`cider-repl-prompt-lastname', `cider-repl-prompt-abbreviated', and
`cider-repl-prompt-default'."
:type '(choice (const :tag "Full namespace" cider-repl-prompt-default)
(const :tag "Abbreviated namespace" cider-repl-prompt-abbreviated)
(const :tag "Last name in namespace" cider-repl-prompt-lastname)
(function :tag "Custom function"))
:package-version '(cider . "0.9.0"))