From 2f1fbf20ad957331b34bb3914e06185b3b34a1a1 Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Sat, 19 Mar 2022 02:33:24 -0700 Subject: [PATCH] ; * test/lisp/erc/erc-tests.el (erc--switch-to-buffer): Fix test failure. --- test/lisp/erc/erc-tests.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lisp/erc/erc-tests.el b/test/lisp/erc/erc-tests.el index 5a2b90a9402..520f10dd4e6 100644 --- a/test/lisp/erc/erc-tests.el +++ b/test/lisp/erc/erc-tests.el @@ -127,6 +127,7 @@ (with-current-buffer (get-buffer-create "server") (erc-mode) (set-process-buffer (setq erc-server-process proc) (current-buffer)) + (set-process-query-on-exit-flag erc-server-process nil) (with-current-buffer (get-buffer-create "#chan") (erc-mode) (setq erc-server-process proc)) @@ -154,7 +155,8 @@ (with-current-buffer (get-buffer-create "other") (erc-mode) - (setq erc-server-process (start-process "bNet" (current-buffer) "true"))) + (setq erc-server-process (start-process "bNet" (current-buffer) "true")) + (set-process-query-on-exit-flag erc-server-process nil)) (ert-info ("Foreign ERC buffer not selectable") (ert-simulate-keys (kbd "other C-m C-a C-k C-m") -- 2.39.2