Function: elisp-refs--map-lines

elisp-refs--map-lines is a byte-compiled function defined in elisp-refs.el.

Signature

(elisp-refs--map-lines STRING FN)

Documentation

Execute FN for each line in string, and join the result together.

Source Code

;; Defined in ~/.emacs.d/elpa/elisp-refs-20230920.201/elisp-refs.el
(defun elisp-refs--map-lines (string fn)
  "Execute FN for each line in string, and join the result together."
  (let ((result nil))
    (dolist (line (elisp-refs--lines string))
      (push (funcall fn line) result))
    (apply #'concat (nreverse result))))