Function: cider-nrepl-request:eval

cider-nrepl-request:eval is a byte-compiled function defined in cider-client.el.

This function is obsolete since 2.0.0; use cider-nrepl-send-eval-request instead.

Signature

(cider-nrepl-request:eval INPUT CALLBACK &optional NS LINE COLUMN ADDITIONAL-PARAMS CONNECTION)

Documentation

Send the request INPUT and register the CALLBACK as the response handler.

If NS is non-nil, include it in the request. LINE and COLUMN, if non-nil, define the position of INPUT in its buffer. ADDITIONAL-PARAMS is a plist to be appended to the request message. CONNECTION is the connection buffer, defaults to (cider-current-repl).

This positional form is kept for backward compatibility; new code should prefer the keyword-argument cider-nrepl-send-eval-request.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260807.1133/cider-client.el
(defun cider-nrepl-request:eval (input callback &optional ns line column additional-params connection)
  "Send the request INPUT and register the CALLBACK as the response handler.
If NS is non-nil, include it in the request.  LINE and COLUMN, if non-nil,
define the position of INPUT in its buffer.  ADDITIONAL-PARAMS is a plist
to be appended to the request message.  CONNECTION is the connection
buffer, defaults to (cider-current-repl).

This positional form is kept for backward compatibility; new code should
prefer the keyword-argument `cider-nrepl-send-eval-request'."
  (cider-nrepl-send-eval-request input callback
                                 :ns ns :line line :column column
                                 :additional-params additional-params
                                 :connection connection))