* simple.el (list-processes--refresh): For a server use :host or
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Aug 2012 08:08:11 +0000 (10:08 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 4 Aug 2012 08:08:11 +0000 (10:08 +0200)
:local as the address.

lisp/ChangeLog
lisp/simple.el

index 91a2802..c1e0c82 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * simple.el (list-processes--refresh): For a server use :host or
+       :local as the address.
+
 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
 
        * lisp/mpc.el: Support password in host argument.
index e1d6760..d17bd8d 100644 (file)
@@ -2881,7 +2881,9 @@ Also, delete any process that is exited or signaled."
                                       "network")
                                     (if (plist-get contact :server)
                                         (format "server on %s"
-                                                (plist-get contact :server))
+                                                (or
+                                                 (plist-get contact :host)
+                                                 (plist-get contact :local)))
                                       (format "connection to %s"
                                               (plist-get contact :host))))
                           (format "(serial port %s%s)"