Function: eshell-make-process-list

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

Signature

(eshell-make-process-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.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-make-process-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-processp) (list procs))
    ((pred eshell-process-list-p) procs)))