set-process-buffer

set-process-buffer is a built-in function in `C source code'.

(set-process-buffer PROCESS BUFFER)

Set buffer associated with PROCESS to BUFFER (a buffer, or nil).
Return BUFFER.