From 838cd60df95de0207196b78e483ce5288ad784e7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 14 Sep 1994 09:00:44 +0000 Subject: [PATCH] (server-start): Always use pipes for communication. --- lisp/server.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/server.el b/lisp/server.el index 5b0f88a09f7..0e525a60fd4 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -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))) -- 2.39.5