diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-10-21 09:50:34 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-10-29 21:47:37 -0700 |
commit | 3e214ac09eacf2f94c69b2909344d3bc590296df (patch) | |
tree | ca2bf8fdb117be6841eeb811deb9818ce590d14f /bin/emacsclient | |
parent | 68526933a835f4a4984769083aebb47405af6086 (diff) | |
download | dotfiles-3e214ac09eacf2f94c69b2909344d3bc590296df.tar.gz |
emacsclient wrapper: use XDG_RUNTIME_DIR
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-x | bin/emacsclient | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emacsclient b/bin/emacsclient index 920c0102..4b35e119 100755 --- a/bin/emacsclient +++ b/bin/emacsclient @@ -29,7 +29,7 @@ want_version=false devel_running=false installed_running=false pass_to_gdbmacs=false -socket_dir="/run/user/$(id -u)/emacs/" +socket_dir="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}/emacs/" get_listener () { local socket="$1" |