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
e5576936
Commit
e5576936
authored
Apr 12, 2003
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(server-start): Use letf.
parent
724629d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
14 deletions
+10
-14
lisp/server.el
lisp/server.el
+10
-14
No files found.
lisp/server.el
View file @
e5576936
...
...
@@ -259,20 +259,16 @@ Prefix arg means just kill any existing server communications subprocess."
(
unless
leave-dead
(
if
server-process
(
server-log
(
message
"Restarting server"
)))
(
let
((
umask
(
default-file-modes
)))
(
unwind-protect
(
progn
(
set-default-file-modes
?\700
)
(
setq
server-process
(
make-network-process
:name
"server"
:family
'local
:server
t
:noquery
t
:service
server-socket-name
:sentinel
'server-sentinel
:filter
'server-process-filter
;; We must receive file names without being decoded.
;; Those are decoded by server-process-filter according
;; to file-name-coding-system.
:coding
'raw-text
)))
(
set-default-file-modes
umask
)))))
(
letf
(((
default-file-modes
)
?\700
))
(
setq
server-process
(
make-network-process
:name
"server"
:family
'local
:server
t
:noquery
t
:service
server-socket-name
:sentinel
'server-sentinel
:filter
'server-process-filter
;; We must receive file names without being decoded.
;; Those are decoded by server-process-filter according
;; to file-name-coding-system.
:coding
'raw-text
)))))
;;;###autoload
(
define-minor-mode
server-mode
...
...
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