aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/efaq.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index d457267c248..19770455f10 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -2009,7 +2009,10 @@ When this is done, Emacs by default creates a Unix domain socket named
2009@file{server} in a well-known directory, typically 2009@file{server} in a well-known directory, typically
2010@file{$XDG_RUNTIME_DIR/emacs} if Emacs is running under an X Window System 2010@file{$XDG_RUNTIME_DIR/emacs} if Emacs is running under an X Window System
2011desktop and @file{$TMPDIR/emacs@var{userid}} otherwise. See the variable 2011desktop and @file{$TMPDIR/emacs@var{userid}} otherwise. See the variable
2012@code{server-socket-dir}. 2012@code{server-socket-dir}. Traditionally, Emacs used
2013@file{$TMPDIR/emacs@var{userid}} even when running under an X desktop;
2014if you prefer this traditional (and less-secure) behavior, unset
2015@env{XDG_RUNTIME_DIR} before invoking Emacs and @samp{emacsclient}.
2013 2016
2014To get your news reader, mail reader, etc., to invoke 2017To get your news reader, mail reader, etc., to invoke
2015@samp{emacsclient}, try setting the environment variable @code{EDITOR} 2018@samp{emacsclient}, try setting the environment variable @code{EDITOR}