From: Eli Zaretskii Date: Sat, 5 Feb 2005 12:00:57 +0000 (+0000) Subject: Update the name of the socket of the Emacs server. X-Git-Tag: ttn-vms-21-2-B4~2416 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=13b9acf0661f77fe0761436017ff2c2210ccfdb1;p=emacs.git Update the name of the socket of the Emacs server. --- 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