Function: eshell-output-object

eshell-output-object is a byte-compiled function defined in esh-io.el.gz.

Signature

(eshell-output-object OBJECT &optional HANDLE-INDEX HANDLES)

Documentation

Insert OBJECT, using HANDLE-INDEX specifically.

If HANDLE-INDEX is nil, output to eshell-output-handle. HANDLES is the set of file handles to use; if nil, use eshell-current-handles.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-io.el.gz
(defun eshell-output-object (object &optional handle-index handles)
  "Insert OBJECT, using HANDLE-INDEX specifically.
If HANDLE-INDEX is nil, output to `eshell-output-handle'.
HANDLES is the set of file handles to use; if nil, use
`eshell-current-handles'."
  (let ((targets (caar (aref (or handles eshell-current-handles)
                             (or handle-index eshell-output-handle)))))
    (dolist (target targets)
      (eshell-output-object-to-target object target))))