Function: cider-load-all-files
cider-load-all-files is an interactive and byte-compiled function
defined in cider-eval.el.
Signature
(cider-load-all-files DIRECTORY UNDEF-ALL)
Documentation
Load all files in DIRECTORY (recursively).
Useful when the running nREPL on remote host.
When UNDEF-ALL is non-nil or called with C-u (universal-argument), removes
all ns aliases and var mappings from the namespaces being reloaded
Key Bindings
Aliases
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-load-all-files (directory undef-all)
"Load all files in DIRECTORY (recursively).
Useful when the running nREPL on remote host.
When UNDEF-ALL is non-nil or called with \\[universal-argument], removes
all ns aliases and var mappings from the namespaces being reloaded"
(interactive "DRecursively load files in directory: \nP")
(let* ((files (directory-files-recursively directory "\\.clj[cs]?$"))
(reporter (make-progress-reporter "Loading files" 0 (length files))))
(seq-do-indexed (lambda (file idx)
(let ((inhibit-message t))
(cider-load-file file undef-all))
(progress-reporter-update reporter (1+ idx) file))
files)
(progress-reporter-done reporter)))