]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/lisp/erc/erc-tests.el (erc--switch-to-buffer): Fix test failure.
authorF. Jason Park <jp@neverwas.me>
Sat, 19 Mar 2022 09:33:24 +0000 (02:33 -0700)
committerF. Jason Park <jp@neverwas.me>
Sat, 19 Mar 2022 09:35:42 +0000 (02:35 -0700)
test/lisp/erc/erc-tests.el

index 5a2b90a940259dd8b652b1350de5094ba1c99fc2..520f10dd4e67719ce7a9e4790fad1103188b4b77 100644 (file)
     (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))
 
     (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")