mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 03:10:58 -08:00
Revert "* lisp/simple.el (process-menu-mode, list-processes--refresh):"
This reverts commit a4285bcb11.
Do not merge to master!
This commit is contained in:
parent
d784e75776
commit
b8e8e15288
1 changed files with 1 additions and 3 deletions
|
|
@ -3749,7 +3749,6 @@ support pty association, if PROGRAM is nil."
|
||||||
(define-derived-mode process-menu-mode tabulated-list-mode "Process Menu"
|
(define-derived-mode process-menu-mode tabulated-list-mode "Process Menu"
|
||||||
"Major mode for listing the processes called by Emacs."
|
"Major mode for listing the processes called by Emacs."
|
||||||
(setq tabulated-list-format [("Process" 15 t)
|
(setq tabulated-list-format [("Process" 15 t)
|
||||||
("PID" 7 t)
|
|
||||||
("Status" 7 t)
|
("Status" 7 t)
|
||||||
("Buffer" 15 t)
|
("Buffer" 15 t)
|
||||||
("TTY" 12 t)
|
("TTY" 12 t)
|
||||||
|
|
@ -3776,7 +3775,6 @@ Also, delete any process that is exited or signaled."
|
||||||
(process-query-on-exit-flag p))
|
(process-query-on-exit-flag p))
|
||||||
(let* ((buf (process-buffer p))
|
(let* ((buf (process-buffer p))
|
||||||
(type (process-type p))
|
(type (process-type p))
|
||||||
(pid (if (process-id p) (format "%d" (process-id p)) "--"))
|
|
||||||
(name (process-name p))
|
(name (process-name p))
|
||||||
(status (symbol-name (process-status p)))
|
(status (symbol-name (process-status p)))
|
||||||
(buf-label (if (buffer-live-p buf)
|
(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)
|
(format " at %s b/s" speed)
|
||||||
"")))))
|
"")))))
|
||||||
(mapconcat 'identity (process-command p) " "))))
|
(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))))))
|
tabulated-list-entries))))))
|
||||||
|
|
||||||
(defun process-menu-visit-buffer (button)
|
(defun process-menu-visit-buffer (button)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue