diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-10-02 15:25:57 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-10-02 17:31:19 +0200 |
commit | 9cd3b50ca869e6a91668eb8bbc2a44617294b85c (patch) | |
tree | 8e5c5b17b989a89705608a573b7fb1c3e014d921 /doc | |
parent | 433dd77b4a4c52a98e1ce0438d6bd475cdb81f7b (diff) | |
download | emacs-9cd3b50ca869e6a91668eb8bbc2a44617294b85c.tar.gz |
Don't mention server-socket-dir in FAQ
server-socket-dir is a defvar, and users should use the defcustom
server-name instead.
* doc/misc/efaq.texi (Using an already running Emacs process): Remove
details on server-socket-dir, refer to Emacs Manual. (Bug#20675)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/efaq.texi | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 219ad248cca..5a81fc00943 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -1990,19 +1990,6 @@ or by invoking @code{server-start} from @file{.emacs}: (if (@var{some conditions are met}) (server-start)) @end lisp -When this is done, Emacs by default creates a Unix domain socket named -@file{server} in a well-known directory, typically -@file{$XDG_RUNTIME_DIR/emacs} if Emacs is running under an X Window System -desktop and @file{$TMPDIR/emacs@var{userid}} otherwise. See the variable -@code{server-socket-dir}. Traditionally, Emacs used -@file{$TMPDIR/emacs@var{userid}} even when running under an X desktop; -if you prefer this traditional (and less-secure) behavior, you -can set the environment variable @env{EMACS_SOCKET_NAME} to -@samp{$TMPDIR/emacs@var{userid}/server} before invoking Emacs and -@samp{emacsclient}, although it will be your responsibility to create -the directory @samp{$TMPDIR/emacs@var{userid}} with appropriate -ownership and permissions. - To get your news reader, mail reader, etc., to invoke @samp{emacsclient}, try setting the environment variable @code{EDITOR} (or sometimes @code{VISUAL}) to the value @samp{emacsclient}. You may @@ -2045,6 +2032,8 @@ The most recent @samp{gnuserv} package is available at @end itemize +For more information, @xref{Emacs Server,,, emacs, The GNU Emacs Manual}. + @node Compiler error messages @section How do I make Emacs recognize my compiler's funny error messages? @cindex Compiler error messages, recognizing |