Function: data-debug-insert-process-props

data-debug-insert-process-props is a byte-compiled function defined in data-debug.el.gz.

Signature

(data-debug-insert-process-props PROCESS PREFIX)

Documentation

Insert all the parts of PROCESS.

PREFIX specifies what to insert at the start of each line.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/data-debug.el.gz
;;; processes
;;
(defun data-debug-insert-process-props (process prefix)
  "Insert all the parts of PROCESS.
PREFIX specifies what to insert at the start of each line."
  (let ((attrprefix (concat (make-string (length prefix) ? ) "# "))
	(id (process-id process))
	(tty (process-tty-name process))
	(pcontact (process-contact process t))
	(proplist (process-plist process)))
    (data-debug-insert-property-list
     (append
      (if id (list 'id id))
      (if tty (list 'tty tty))
      (if pcontact pcontact)
      proplist)
     attrprefix)
    )
  )