From: F. Jason Park Date: Sat, 19 Mar 2022 09:33:24 +0000 (-0700) Subject: ; * test/lisp/erc/erc-tests.el (erc--switch-to-buffer): Fix test failure. X-Git-Tag: emacs-29.0.90~1931^2~1039^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f1fbf20ad957331b34bb3914e06185b3b34a1a1;p=emacs.git ; * test/lisp/erc/erc-tests.el (erc--switch-to-buffer): Fix test failure. --- 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")