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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
92c7831b
Commit
92c7831b
authored
Jan 27, 2004
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(server-socket-name): Don't use the hostname in the
socket name since /tmp is local to the host anyway.
parent
0734b0d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lisp/server.el
lisp/server.el
+2
-3
No files found.
lisp/server.el
View file @
92c7831b
;;; server.el --- Lisp code for GNU Emacs running as server process
;;; server.el --- Lisp code for GNU Emacs running as server process
;; Copyright (C) 1986,87,92,94,95,96,97,98,99,2000,01,02,
2003
;; Copyright (C) 1986,87,92,94,95,96,97,98,99,2000,01,02,
03,2004
;; Free Software Foundation, Inc.
;; Free Software Foundation, Inc.
;; Author: William Sommerfeld <wesommer@athena.mit.edu>
;; Author: William Sommerfeld <wesommer@athena.mit.edu>
...
@@ -160,8 +160,7 @@ are done with it in the server.")
...
@@ -160,8 +160,7 @@ are done with it in the server.")
(
make-variable-buffer-local
'server-existing-buffer
)
(
make-variable-buffer-local
'server-existing-buffer
)
(
defvar
server-socket-name
(
defvar
server-socket-name
(
format
"/tmp/emacs%d-%s/server"
(
user-uid
)
(
format
"/tmp/emacs%d/server"
(
user-uid
)))
(
substring
(
system-name
)
0
(
string-match
"\\."
(
system-name
)))))
(
defun
server-log
(
string
&optional
client
)
(
defun
server-log
(
string
&optional
client
)
"If a *server* buffer exists, write STRING to it for logging purposes."
"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