Function: pfuture--append-stderr

pfuture--append-stderr is a byte-compiled function defined in pfuture.el.

Signature

(pfuture--append-stderr PROCESS MSG)

Documentation

Append PROCESS' MSG to the already saved stderr output.

Source Code

;; Defined in ~/.emacs.d/elpa/pfuture-20220913.1401/pfuture.el
(defun pfuture--append-stderr (process msg)
  "Append PROCESS' MSG to the already saved stderr output."
  (let* ((process-plist (process-plist process))
         (previous-output (plist-get process-plist 'stderr)))
    (plist-put process-plist 'stderr
               (if (zerop (string-bytes previous-output))
                   msg
                 (concat previous-output msg)))))