Function: proced-pid-at-point

proced-pid-at-point is a byte-compiled function defined in proced.el.gz.

Signature

(proced-pid-at-point)

Documentation

Return pid of system process at point.

Return nil if point is not on a process line.

Source Code

;; Defined in /usr/src/emacs/lisp/proced.el.gz
(defun proced-pid-at-point ()
  "Return pid of system process at point.
Return nil if point is not on a process line."
  (save-excursion
    (beginning-of-line)
    (if (looking-at "^. .")
        (get-text-property (match-end 0) 'proced-pid))))