Function: cider--file-string

cider--file-string is a byte-compiled function defined in cider-eval.el.

Signature

(cider--file-string FILE)

Documentation

Read the contents of a FILE and return as a string.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider--file-string (file)
  "Read the contents of a FILE and return as a string."
  (with-current-buffer (find-file-noselect file)
    (save-restriction
      (widen)
      (substring-no-properties (buffer-string)))))