Function: eshell-map-lines-worker-create

eshell-map-lines-worker-create is a byte-compiled function defined in esh-worker.el.gz.

Signature

(eshell-map-lines-worker-create &key STATUS ESHELL-BUFFER OUTPUT-HANDLES ENSURE-NEWLINE-P FUNCTION CURRENT-LINE)

Documentation

Constructor for objects of type eshell-map-lines-worker.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-worker.el.gz
;; Map-lines worker

(cl-defstruct (eshell-map-lines-worker
               (:include eshell-worker)
               (:constructor eshell-map-lines-worker-create))
  "A worker that calls a Lisp function once for each line.
When outputting string data to this worker, it will call a Lisp
FUNCTION once per line of text.  When outputting other data types to
this worker (e.g. lists), it will call FUNCTION once with the
specified value."
  (function nil :read-only t)
  (current-line nil))