diff options
| author | Daniel Pittman | 2018-09-05 09:44:58 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2018-10-27 12:18:27 +0300 |
| commit | 3e81e9a0e7742197354515f3d3ea55fdb201eb29 (patch) | |
| tree | 7ea45bc194843b5c6c5564a3be96fa67306e90b7 /etc | |
| parent | 8fffac14b19d375f774b835ea33ef8989300125d (diff) | |
| download | emacs-3e81e9a0e7742197354515f3d3ea55fdb201eb29.tar.gz emacs-3e81e9a0e7742197354515f3d3ea55fdb201eb29.zip | |
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
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -120,6 +120,12 @@ the new version of the file again.) | |||
| 120 | * Changes in Emacs 27.1 | 120 | * Changes in Emacs 27.1 |
| 121 | 121 | ||
| 122 | +++ | 122 | +++ |
| 123 | ** emacsclient uses EMACS_SOCKET_NAME if --socket-name is not set. | ||
| 124 | The behavior is identical to the EMACS_SERVER_FILE, in that the | ||
| 125 | command line value will override the environment, and the natural | ||
| 126 | default to TMPDIR, then /tmp, continues to apply. | ||
| 127 | |||
| 128 | +++ | ||
| 123 | ** The function 'read-passwd' uses '*' as default character to hide passwords. | 129 | ** The function 'read-passwd' uses '*' as default character to hide passwords. |
| 124 | 130 | ||
| 125 | --- | 131 | --- |