Commit ec13c46b authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Include port numbers in `M-x list-processes'

* lisp/simple.el (list-processes--refresh): Include the port
numbers in the network connection list (bug#13604).
parent 64538328
Pipeline #2841 passed with stage
in 54 minutes and 42 seconds
......@@ -4112,12 +4112,17 @@ Also, delete any process that is exited or signaled."
"datagram"
"network")
(if (plist-get contact :server)
(format "server on %s"
(or
(plist-get contact :host)
(plist-get contact :local)))
(format "connection to %s"
(plist-get contact :host))))
(format
"server on %s"
(if (plist-get contact :host)
(format "%s:%s"
(plist-get contact :host)
(plist-get
contact :service))
(plist-get contact :local)))
(format "connection to %s:%s"
(plist-get contact :host)
(plist-get contact :service))))
(format "(serial port %s%s)"
(or (plist-get contact :port) "?")
(let ((speed (plist-get contact :speed)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment