Function: cider-prompt-for-symbol-function

cider-prompt-for-symbol-function is a byte-compiled function defined in cider-common.el.

Signature

(cider-prompt-for-symbol-function &optional INVERT)

Documentation

Prompt for symbol if funcall cider--should-prompt-for-symbol is truthy.

Otherwise attempt to use the symbol at point for the command, and only prompt if that throws an error.

INVERT inverts the semantics of the function cider--should-prompt-for-symbol.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-common.el
(defun cider-prompt-for-symbol-function (&optional invert)
  "Prompt for symbol if funcall `cider--should-prompt-for-symbol' is truthy.
Otherwise attempt to use the symbol at point for the command, and only
prompt if that throws an error.

INVERT inverts the semantics of the function `cider--should-prompt-for-symbol'."
  (if (cider--should-prompt-for-symbol invert)
      #'cider-read-symbol-name
    #'cider-try-symbol-at-point))