summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-01-23 04:52:40 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-01-23 04:52:40 +0000
commit77c4d02405dd9182559df7132d1e66f864d3f09b (patch)
treecf68cd6e4a0f917ed6c1a21856f16ed69a330c4b /lisp
parenta861b8d608cafec1a88d177f4ce8f467b698afbb (diff)
downloademacs-77c4d02405dd9182559df7132d1e66f864d3f09b.tar.gz
(server-name): Make it a defcustom.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/server.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index d58eb20e5e7..5f7cc50e35a 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -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))