Function: cider-request:load-file

cider-request:load-file is a byte-compiled function defined in cider-client.el.

Signature

(cider-request:load-file FILE-CONTENTS FILE-PATH FILE-NAME &optional CONNECTION CALLBACK)

Documentation

Perform the nREPL "load-file" op.

FILE-CONTENTS, FILE-PATH and FILE-NAME are details of the file to be loaded. If CONNECTION is nil, use cider-current-repl. If CALLBACK is nil, use cider-load-file-handler.

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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-client.el
(defun cider-request:load-file (file-contents file-path file-name &optional connection callback)
  "Perform the nREPL \"load-file\" op.
FILE-CONTENTS, FILE-PATH and FILE-NAME are details of the file to be
loaded.  If CONNECTION is nil, use `cider-current-repl'.  If CALLBACK
is nil, use `cider-load-file-handler'.

This positional form is kept for backward compatibility; new code should
prefer the keyword-argument `cider-load-file-request'."
  (cider-load-file-request file-contents file-path file-name
                           :connection connection :callback callback))