]> code.delx.au - gnu-emacs/commitdiff
(server-start): Always use pipes for communication.
authorRichard M. Stallman <rms@gnu.org>
Wed, 14 Sep 1994 09:00:44 +0000 (09:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 14 Sep 1994 09:00:44 +0000 (09:00 +0000)
lisp/server.el

index 5b0f88a09f704baaf195961d08d4d406aeaec37b..0e525a60fd40a3b057a78ff19dcc39ab76ea0adf 100644 (file)
@@ -158,7 +158,10 @@ Prefix arg means just kill any existing server communications subprocess."
       nil
     (if server-process
        (server-log (message "Restarting server")))
-    (setq server-process (start-process "server" nil server-program))
+    ;; Using a pty is wasteful, and the separate session causes
+    ;; annoyance sometimes (some systems kill idle sessions).
+    (let ((process-connection-type nil))
+      (setq server-process (start-process "server" nil server-program)))
     (set-process-sentinel server-process 'server-sentinel)
     (set-process-filter server-process 'server-process-filter)
     (process-kill-without-query server-process)))