Function: eshell-make-task-list

eshell-make-task-list is a byte-compiled function defined in esh-util.el.gz.

Signature

(eshell-make-task-list PROCS)

Documentation

Make a list of process objects from PROCS if possible.

PROCS can be a single process or a list thereof. If PROCS is anything else, return nil instead.

Aliases

eshell-make-process-list (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-make-task-list (procs)
  "Make a list of process objects from PROCS if possible.
PROCS can be a single process or a list thereof.  If PROCS is
anything else, return nil instead."
  (pcase procs
    ((pred eshell-task-p) (list procs))
    ((pred eshell-task-list-p) procs)))