changeset 53736:df8ff5ff116d

(server-socket-name): Don't use the hostname in the socket name since /tmp is local to the host anyway.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 27 Jan 2004 23:08:29 +0000
parents f8ced39adaf1
children 349eb7d143cf
files lisp/server.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Tue Jan 27 23:07:13 2004 +0000
+++ b/lisp/server.el	Tue Jan 27 23:08:29 2004 +0000
@@ -1,6 +1,6 @@
 ;;; server.el --- Lisp code for GNU Emacs running as server process
 
-;; Copyright (C) 1986,87,92,94,95,96,97,98,99,2000,01,02,2003
+;; Copyright (C) 1986,87,92,94,95,96,97,98,99,2000,01,02,03,2004
 ;;	 Free Software Foundation, Inc.
 
 ;; Author: William Sommerfeld <wesommer@athena.mit.edu>
@@ -160,8 +160,7 @@
 (make-variable-buffer-local 'server-existing-buffer)
 
 (defvar server-socket-name
-  (format "/tmp/emacs%d-%s/server" (user-uid)
-	  (substring (system-name) 0 (string-match "\\." (system-name)))))
+  (format "/tmp/emacs%d/server" (user-uid)))
 
 (defun server-log (string &optional client)
   "If a *server* buffer exists, write STRING to it for logging purposes."