summaryrefslogtreecommitdiff
path: root/test/lisp/erc/resources
diff options
context:
space:
mode:
authorF. Jason Park <jp@neverwas.me>2023-01-03 23:10:53 -0800
committerF. Jason Park <jp@neverwas.me>2023-01-10 06:34:01 -0800
commitc267cd01517bca9570faf13c4454793e7fb0c97b (patch)
treea54dae7ced67bc453c2d1d0703717703fe8d175d /test/lisp/erc/resources
parentf31e65694caf7bd7aa981e13969e2c86fde59a13 (diff)
downloademacs-c267cd01517bca9570faf13c4454793e7fb0c97b.tar.gz
emacs-c267cd01517bca9570faf13c4454793e7fb0c97b.tar.bz2
emacs-c267cd01517bca9570faf13c4454793e7fb0c97b.zip
; Kill some stray buffers left behind by ERC tests
* test/lisp/erc/erc-services-tests.el (erc--auth-source-search--plstore-standard, erc--auth-source-search--plstore-announced, erc--auth-source-search--plstore-overrides): Kill buffer renamed by plstore. In the future, try using the `:buffer' keyword introduced in Emacs 29. * test/lisp/erc/resources/erc-d/erc-d-t.el (erc-d-t-kill-related-buffers): Don't forget about `erc-dcc-chat-mode' buffers.
Diffstat (limited to 'test/lisp/erc/resources')
-rw-r--r--test/lisp/erc/resources/erc-d/erc-d-t.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/erc/resources/erc-d/erc-d-t.el b/test/lisp/erc/resources/erc-d/erc-d-t.el
index 282c193b707..7b2adf4f07b 100644
--- a/test/lisp/erc/resources/erc-d/erc-d-t.el
+++ b/test/lisp/erc/resources/erc-d/erc-d-t.el
@@ -32,7 +32,7 @@
(dolist (buf (buffer-list))
(with-current-buffer buf
(when (or erc-d-u--process-buffer
- (derived-mode-p 'erc-mode))
+ (derived-mode-p 'erc-mode 'erc-dcc-chat-mode))
(push buf buflist))))
(dolist (buf buflist)
(when (and (boundp 'erc-server-flood-timer)