Function: cider-test--unescape-newlines

cider-test--unescape-newlines is a byte-compiled function defined in cider-test.el.

Signature

(cider-test--unescape-newlines BEG END)

Documentation

Turn the escaped newlines between BEG and END into real ones.

This makes long error messages more readable.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-test.el
(defun cider-test--unescape-newlines (beg end)
  "Turn the escaped newlines between BEG and END into real ones.
This makes long error messages more readable."
  (save-excursion
    (goto-char beg)
    (let ((end (copy-marker end)))
      (while (search-forward "\\n" end t)
        (replace-match "\n" t t))
      (set-marker end nil))))