From: Amin Bandali Date: Fri, 23 Apr 2021 22:49:37 +0000 (-0400) Subject: Fix thinko introduced in the last ERC patch (bug#47788) X-Git-Tag: emacs-28.0.90~2753 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87d37e279f464d5e2124ca1fe3b05f8cfe20080a;p=emacs.git 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. --- 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.