diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-01 23:06:06 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-12-01 23:08:48 -0800 |
commit | 92282cb50248117185774cf8076d1ff83d501be7 (patch) | |
tree | 0e03dbd31e82b3f962b54c88ce0be1290b23d7ff /lisp/emacs-lisp/easy-mmode.el | |
parent | 070ef95c1007cb3d54e04bc337d9fb5463912cc1 (diff) | |
download | emacs-92282cb50248117185774cf8076d1ff83d501be7.tar.gz emacs-92282cb50248117185774cf8076d1ff83d501be7.tar.bz2 emacs-92282cb50248117185774cf8076d1ff83d501be7.zip |
emacsclient: prefer XDG_RUNTIME_DIR (Bug#33367)
* lib-src/emacsclient.c: Disable -Wformat-truncation=2,
to avoid false alarms about the new snprintf calls.
(local_sockname): New function.
(set_local_socket): Use it. Prefer XDG_RUNTIME_DIR (if set)
for location of socket directory. Avoid unnecessary memory
allocation by using snprintf to destination.
* lisp/server.el (server-socket-dir): Prefer XDG_RUNTIME_DIR if set.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions