Function: eshell/apply-lines
eshell/apply-lines is a byte-compiled function defined in
esh-worker.el.gz.
Signature
(eshell/apply-lines FUNCTION)
Documentation
Call a Lisp FUNCTION with each line of output as an argument.
This worker calls a Lisp FUNCTION once, with each line of string data corresponding to one argument passed to the fuction. When outputting other data types to this worker (e.g. lists), each object is passed as a single argument to FUNCTION.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-worker.el.gz
(defun eshell/apply-lines (function)
"Call a Lisp FUNCTION with each line of output as an argument.
This worker calls a Lisp FUNCTION once, with each line of string data
corresponding to one argument passed to the fuction. When outputting
other data types to this worker (e.g. lists), each object is passed as a
single argument to FUNCTION."
(eshell-apply-lines-worker-create :function function))