aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/misc.texi4
-rw-r--r--doc/man/emacsclient.11
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 236cb07785c..ab33cafb8e8 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1966,6 +1966,10 @@ is given by the variable @code{server-name} on the Emacs server. If
1966this option is omitted, @command{emacsclient} connects to the first 1966this option is omitted, @command{emacsclient} connects to the first
1967server it finds. (This option is not supported on MS-Windows.) 1967server it finds. (This option is not supported on MS-Windows.)
1968 1968
1969Alternatively, you can set the @env{EMACS_SOCKET_NAME} environment
1970variable to point to the server socket. (The command-line option
1971overrides the environment variable.)
1972
1969@item -t 1973@item -t
1970@itemx --tty 1974@itemx --tty
1971@itemx -nw 1975@itemx -nw
diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1
index 5aaa6d1f083..24ca1c9a468 100644
--- a/doc/man/emacsclient.1
+++ b/doc/man/emacsclient.1
@@ -94,6 +94,7 @@ open a new Emacs frame on the current terminal
94.TP 94.TP
95.B \-s, \-\-socket-name=FILENAME 95.B \-s, \-\-socket-name=FILENAME
96use socket named FILENAME for communication. 96use socket named FILENAME for communication.
97This can also be specified via the EMACS_SOCKET_NAME environment variable.
97.TP 98.TP
98.B \-V, \-\-version 99.B \-V, \-\-version
99print version information and exit 100print version information and exit