[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b1d7f19: Mention unsetting XDG_RUNTIME_DIR in doc.
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master b1d7f19: Mention unsetting XDG_RUNTIME_DIR in doc. |
Date: |
Thu, 6 Dec 2018 14:07:51 -0500 (EST) |
branch: master
commit b1d7f19ae785ce7fa609bc57432d01cc23a3d49a
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Mention unsetting XDG_RUNTIME_DIR in doc.
---
doc/misc/efaq.texi | 5 ++++-
etc/NEWS | 2 ++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index d457267..1977045 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
@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/address@hidden otherwise. See the variable
address@hidden
address@hidden Traditionally, Emacs used
address@hidden/address@hidden even when running under an X desktop;
+if you prefer this traditional (and less-secure) behavior, unset
address@hidden before invoking Emacs and @samp{emacsclient}.
To get your news reader, mail reader, etc., to invoke
@samp{emacsclient}, try setting the environment variable @code{EDITOR}
diff --git a/etc/NEWS b/etc/NEWS
index 60cba9e..e7f2d60 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -133,6 +133,8 @@ to apply.
as the directory for client/server sockets, if Emacs is running
under an X Window System desktop that sets the XDG_RUNTIME_DIR
environment variable to indicate where session sockets should go.
+To get the old and less-secure behavior, unset XDG_RUNTIME_DIR before
+invoking emacs and emacsclient.
---
*** When run by root, emacsclient no longer connects to non-root sockets.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b1d7f19: Mention unsetting XDG_RUNTIME_DIR in doc.,
Paul Eggert <=