From: Paul Eggert Date: Wed, 20 Nov 2019 19:28:32 +0000 (-0800) Subject: * etc/NEWS: Improve XDG_RUNTIME_DIR doc. X-Git-Tag: emacs-27.0.90~561^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c928f41330ece779127a0c4c9b6ca0fdde8a1046;p=emacs.git * etc/NEWS: Improve XDG_RUNTIME_DIR doc. --- diff --git a/etc/NEWS b/etc/NEWS index dd08675f425..e25df98243f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -222,7 +222,7 @@ The command-line argument '--socket-name' overrides it. +++ *** Emacs and emacsclient now default to "$XDG_RUNTIME_DIR/emacs" as the directory for client/server sockets, if Emacs is running -under an X Window System desktop that sets the 'XDG_RUNTIME_DIR' +on a platform or environment that sets the 'XDG_RUNTIME_DIR' environment variable to indicate where session sockets should go. To get the old, less-secure behavior, you can set the 'EMACS_SOCKET_NAME' environment variable to an appropriate value.