changeset 101392:03050eba53aa

(server-name): Make it a defcustom.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 23 Jan 2009 04:52:40 +0000
parents 922a0e9e1a24
children a51647f648b0
files lisp/server.el
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Fri Jan 23 04:52:32 2009 +0000
+++ b/lisp/server.el	Fri Jan 23 04:52:40 2009 +0000
@@ -200,7 +200,13 @@
 are done with it in the server.")
 (make-variable-buffer-local 'server-existing-buffer)
 
-(defvar server-name "server")
+(defcustom server-name "server"
+  "The name of the Emacs server, if this Emacs process creates one.
+The command `server-start' makes use of this.  It should not be
+changed while a server is running."
+  :group 'server
+  :type 'string
+  :version "23.1")
 
 (defvar server-socket-dir
   (and (featurep 'make-network-process '(:family local))