]> git.eshelyaron.com Git - emacs.git/commit
Add support in emacsclient for EMACS_SOCKET_NAME
authorDaniel Pittman <slippycheeze@google.com>
Wed, 5 Sep 2018 13:44:58 +0000 (09:44 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 27 Oct 2018 09:18:27 +0000 (12:18 +0300)
commit3e81e9a0e7742197354515f3d3ea55fdb201eb29
tree7ea45bc194843b5c6c5564a3be96fa67306e90b7
parent8fffac14b19d375f774b835ea33ef8989300125d
Add support in emacsclient for EMACS_SOCKET_NAME

If the '--socket-name' argument is unspecified, the environment
variable 'EMACS_SOCKET_NAME' is now consulted with the same
semantics.  This mirrors the behavior of the '--server-file' argument,
and allows for easier configuration of emacsclient when the socket is
in a location other than 'TMPDIR' or '/tmp'.

* emacsclient.c (set_socket): Add support for the
EMACS_SOCKET_NAME environment variable.  (Bug#33095)

* misc.texi (emacsclient Options):
* emacsclient.1: Document the EMACS_SOCKET_NAME environment
variable.

* etc/NEWS: Announce the new feature.

Copyright-paperwork-exempt: yes
doc/emacs/misc.texi
doc/man/emacsclient.1
etc/NEWS
lib-src/emacsclient.c