aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/misc.texi29
1 files changed, 12 insertions, 17 deletions
diff --git a/man/misc.texi b/man/misc.texi
index ae92ed6095d..72ddd96534a 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1406,23 +1406,18 @@ expressions to evaluate, not a list of files to visit.
1406 1406
1407@cindex @env{EMACS_SERVER_FILE} environment variable 1407@cindex @env{EMACS_SERVER_FILE} environment variable
1408When you start the Emacs server (by calling @code{server-start}), 1408When you start the Emacs server (by calling @code{server-start}),
1409Emacs creates a file with information about the TCP connection to the 1409Emacs creates a file with information about TCP connection to the
1410server: the host where Emacs runs, the port where it listens for 1410server: the host where Emacs is running, the port where it is
1411@code{emacsclient} requests, and the authentication string to use for 1411listening, and an authentication string. @code{emacsclient} uses this
1412the connection. @code{emacsclient} uses this information if it needs 1412information if it needs to connect to the server via TCP. By default,
1413to connect to the server via TCP. By default, this TCP configuration 1413the file goes in the @file{~/.emacs.d/server/} directory@footnote{On
1414file is placed in the @file{~/.emacs.d/server/} directory@footnote{ 1414MS-Windows, if @env{HOME} is not set or the TCP configuration file
1415On MS-Windows, if @env{HOME} is not set or the TCP configuration file 1415cannot be found there, Emacs also looks for the file in the
1416cannot be found there, Emacs in addition attempts to find the file in 1416@file{.emacs.d/server/} subdirectory of the directory pointed to by
1417the @file{.emacs.d/server/} subdirectory of the directory pointed 1417the @env{APPDATA} environment variable.}. You can specify the file
1418to by the @env{APPDATA} environment variable, which is a user-specific 1418name to use with the @samp{-f @var{file}} or
1419directory for application data files. This is similar to what Emacs 1419@samp{--server-file=@var{file}} options, or by setting
1420does on MS-Windows to search for the user's @file{.emacs} file.} 1420@env{EMACS_SERVER_FILE} environment variable to the file name.
1421; you can
1422direct @code{emacsclient} to use a different file with the @samp{-f
1423@var{file}} or @samp{--server-file=@var{file}} option, or by defining
1424the @env{EMACS_SERVER_FILE} environment variable that points to the
1425non-default TCP configuration file.
1426 1421
1427@node Printing, Sorting, Emacs Server, Top 1422@node Printing, Sorting, Emacs Server, Top
1428@section Printing Hard Copies 1423@section Printing Hard Copies