1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Update the name of the socket of the Emacs server.

This commit is contained in:
Eli Zaretskii 2005-02-05 12:00:57 +00:00
parent b29ef159ec
commit 13b9acf066

View file

@ -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