]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix thinko introduced in the last ERC patch (bug#47788)
authorAmin Bandali <bandali@gnu.org>
Fri, 23 Apr 2021 22:49:37 +0000 (18:49 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 23 Apr 2021 22:49:37 +0000 (18:49 -0400)
* 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

index 67db572701fe6d194d339c73496df3f8b7974d75..ea9f9a326106975f34137b83b1c6fa40a2ec489b 100644 (file)
@@ -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.