Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
15d40fa4
Commit
15d40fa4
authored
Sep 27, 2002
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(server-socket-name): Always use /tmp and non-qualified hostname.
parent
bb76239b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
lisp/server.el
lisp/server.el
+2
-5
No files found.
lisp/server.el
View file @
15d40fa4
...
...
@@ -148,11 +148,8 @@ are done with it in the server.")
(
make-variable-buffer-local
'server-existing-buffer
)
(
defvar
server-socket-name
(
if
(
or
(
not
(
file-writable-p
"~/"
))
(
and
(
file-writable-p
"/tmp/"
)
(
not
(
zerop
(
logand
(
file-modes
"/tmp/"
)
512
)))))
(
format
"/tmp/esrv%d-%s"
(
user-uid
)
(
system-name
))
(
format
"~/.emacs-server-%s"
(
system-name
))))
(
format
"/tmp/esrv%d-%s"
(
user-uid
)
(
substring
(
system-name
)
0
(
string-match
"\\."
(
system-name
)))))
;; If a *server* buffer exists,
;; write STRING to it for logging purposes.
...
...
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