Function: eshell-record-process-properties

eshell-record-process-properties is a byte-compiled function defined in esh-proc.el.gz.

Signature

(eshell-record-process-properties PROCESS &optional INDEX)

Documentation

Record Eshell bookkeeping properties for PROCESS.

eshell-insertion-filter and eshell-sentinel will use these to do their jobs.

INDEX is the index of the output handle to use for writing; if nil, write to eshell-output-handle.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-proc.el.gz
(defun eshell-record-process-properties (process &optional index)
  "Record Eshell bookkeeping properties for PROCESS.
`eshell-insertion-filter' and `eshell-sentinel' will use these to
do their jobs.

INDEX is the index of the output handle to use for writing; if
nil, write to `eshell-output-handle'."
  (process-put process :eshell-handles eshell-current-handles)
  (process-put process :eshell-handle-index (or index eshell-output-handle))
  (process-put process :eshell-pending nil)
  (process-put process :eshell-busy nil))