]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "* lisp/simple.el (process-menu-mode, list-processes--refresh):"
authorEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 13:04:20 +0000 (16:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 23 Oct 2016 13:04:20 +0000 (16:04 +0300)
This reverts commit a4285bcb1114e29200001f33af9b4802167d6140.
Do not merge to master!

lisp/simple.el

index 6d36a88892f8198738877665a6e60ea67ac95feb..8f5324f20ece03b3d6b657a8f5b527f7decb51bd 100644 (file)
@@ -3749,7 +3749,6 @@ support pty association, if PROGRAM is nil."
 (define-derived-mode process-menu-mode tabulated-list-mode "Process Menu"
   "Major mode for listing the processes called by Emacs."
   (setq tabulated-list-format [("Process" 15 t)
-                              ("PID"      7 t)
                               ("Status"   7 t)
                               ("Buffer"  15 t)
                               ("TTY"     12 t)
@@ -3776,7 +3775,6 @@ Also, delete any process that is exited or signaled."
               (process-query-on-exit-flag p))
           (let* ((buf (process-buffer p))
                  (type (process-type p))
-                 (pid  (if (process-id p) (format "%d" (process-id p)) "--"))
                  (name (process-name p))
                  (status (symbol-name (process-status p)))
                  (buf-label (if (buffer-live-p buf)
@@ -3812,7 +3810,7 @@ Also, delete any process that is exited or signaled."
                                         (format " at %s b/s" speed)
                                       "")))))
                     (mapconcat 'identity (process-command p) " "))))
-            (push (list p (vector name pid status buf-label tty cmd))
+            (push (list p (vector name status buf-label tty cmd))
                   tabulated-list-entries))))))
 
 (defun process-menu-visit-buffer (button)