]> code.delx.au - gnu-emacs/commitdiff
(server-name): Make it a defcustom.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 04:52:40 +0000 (04:52 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 23 Jan 2009 04:52:40 +0000 (04:52 +0000)
lisp/server.el

index d58eb20e5e7d45254ff0754eddc8e1daeff16887..5f7cc50e35a6c481e611f07a7e634e469aa67942 100644 (file)
@@ -200,7 +200,13 @@ This means that the server should not kill the buffer when you say you
 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))