From 4310ecdc8b6ba23107f7cfae59d509decbd06d90 Mon Sep 17 00:00:00 2001 From: thattemperature <2719023332@qq.com> Date: Sat, 5 Oct 2024 22:40:32 +0800 Subject: [PATCH] Make it no query to kill processes when quit emacs --- core/eaf-epc.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/eaf-epc.el b/core/eaf-epc.el index 9107f2b95..66b33fb34 100644 --- a/core/eaf-epc.el +++ b/core/eaf-epc.el @@ -701,6 +701,7 @@ This variable is used for the management purpose.") (set-process-filter process (lambda (p m) (eaf-epc-process-filter connection p m))) + (set-process-query-on-exit-flag process nil) (set-process-sentinel process (lambda (p e) (eaf-epc-process-sentinel connection p e))) @@ -751,6 +752,7 @@ This variable is used for the management purpose.") :server t :host "127.0.0.1" :service (or port t) + :noquery t :sentinel (lambda (process message) (eaf-epc-server-sentinel process message connect-function)))))