Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e89da28d
Commit
e89da28d
authored
Jul 11, 1994
by
Richard M. Stallman
Browse files
(server-start): Try both possible socket file names for the file to delete.
parent
0588a761
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lisp/server.el
lisp/server.el
+3
-0
No files found.
lisp/server.el
View file @
e89da28d
...
...
@@ -147,6 +147,9 @@ Prefix arg means just kill any existing server communications subprocess."
(
set-process-sentinel
server-process
nil
)
(
condition-case
()
(
delete-process
server-process
)
(
error
nil
))))
(
condition-case
()
(
delete-file
"~/.emacs_server"
)
(
error
nil
))
(
condition-case
()
(
delete-file
(
format
"/tmp/esrv%d-%s"
(
user-uid
)
(
system-name
)))
(
error
nil
))
;; If we already had a server, clear out associated status.
(
while
server-clients
(
let
((
buffer
(
nth
1
(
car
server-clients
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment