diff options
-rw-r--r-- | etc/emacs.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/emacs.bash b/etc/emacs.bash index 80930f80d77..c482e82b361 100644 --- a/etc/emacs.bash +++ b/etc/emacs.bash @@ -22,7 +22,7 @@ function edit () if [ -n "${windowsys:+set}" ]; then # Do not just test if these files are sockets. On some systems # ordinary files or fifos are used instead. Just see if they exist. - if [ -e "${HOME}/.emacs_server" -o -e "/tmp/esrv${UID}-"* ]; then + if [ -e "${HOME}/.emacs_server" -o -e "/tmp/emacs${UID}/server" ]; then emacsclient "$@" return $? else |