aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index c43fe548c82..67c02665ea1 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3749,6 +3749,7 @@ support pty association, if PROGRAM is nil."
3749(define-derived-mode process-menu-mode tabulated-list-mode "Process Menu" 3749(define-derived-mode process-menu-mode tabulated-list-mode "Process Menu"
3750 "Major mode for listing the processes called by Emacs." 3750 "Major mode for listing the processes called by Emacs."
3751 (setq tabulated-list-format [("Process" 15 t) 3751 (setq tabulated-list-format [("Process" 15 t)
3752 ("PID" 7 t)
3752 ("Status" 7 t) 3753 ("Status" 7 t)
3753 ("Buffer" 15 t) 3754 ("Buffer" 15 t)
3754 ("TTY" 12 t) 3755 ("TTY" 12 t)
@@ -3775,6 +3776,7 @@ Also, delete any process that is exited or signaled."
3775 (process-query-on-exit-flag p)) 3776 (process-query-on-exit-flag p))
3776 (let* ((buf (process-buffer p)) 3777 (let* ((buf (process-buffer p))
3777 (type (process-type p)) 3778 (type (process-type p))
3779 (pid (if (process-id p) (format "%d" (process-id p)) "--"))
3778 (name (process-name p)) 3780 (name (process-name p))
3779 (status (symbol-name (process-status p))) 3781 (status (symbol-name (process-status p)))
3780 (buf-label (if (buffer-live-p buf) 3782 (buf-label (if (buffer-live-p buf)
@@ -3810,7 +3812,7 @@ Also, delete any process that is exited or signaled."
3810 (format " at %s b/s" speed) 3812 (format " at %s b/s" speed)
3811 ""))))) 3813 "")))))
3812 (mapconcat 'identity (process-command p) " ")))) 3814 (mapconcat 'identity (process-command p) " "))))
3813 (push (list p (vector name status buf-label tty cmd)) 3815 (push (list p (vector name pid status buf-label tty cmd))
3814 tabulated-list-entries)))))) 3816 tabulated-list-entries))))))
3815 3817
3816(defun process-menu-visit-buffer (button) 3818(defun process-menu-visit-buffer (button)