1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

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.
This commit is contained in:
Amin Bandali 2021-04-23 18:49:37 -04:00
parent 2868199564
commit 87d37e279f
No known key found for this signature in database
GPG Key ID: 8B44A0CDC7B956F2

View 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.