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:
parent
b29ef159ec
commit
13b9acf066
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue