From 87d37e279f464d5e2124ca1fe3b05f8cfe20080a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 23 Apr 2021 18:49:37 -0400 Subject: [PATCH] Fix thinko introduced in the last ERC patch (bug#47788) * lisp/erc/erc-backend.el (erc-open-network-stream): Need to use apply to call open-network-stream with the supplied arguments because of the plist p of arguments. Thanks to neverwas for pointing it out. --- lisp/erc/erc-backend.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 67db572701f..ea9f9a32610 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -515,7 +515,7 @@ The current buffer is given by BUFFER." (defun erc-open-network-stream (name buffer host service &rest parameters) "Like `open-network-stream', but does non-blocking IO." (let ((p (plist-put parameters :nowait t))) - (open-network-stream name buffer host service p))) + (apply #'open-network-stream name buffer host service p))) (defun erc-server-connect (server port buffer &optional client-certificate) "Perform the connection and login using the specified SERVER and PORT.