summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-backend.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2021-04-23 18:49:37 -0400
committerAmin Bandali <bandali@gnu.org>2021-04-23 18:49:37 -0400
commit87d37e279f464d5e2124ca1fe3b05f8cfe20080a (patch)
treeaaf764101f4f1715cfd6f2214cdf89325bd414e3 /lisp/erc/erc-backend.el
parent2868199564fd0319e0d324d075d6f91153931e51 (diff)
downloademacs-87d37e279f464d5e2124ca1fe3b05f8cfe20080a.tar.gz
emacs-87d37e279f464d5e2124ca1fe3b05f8cfe20080a.tar.bz2
emacs-87d37e279f464d5e2124ca1fe3b05f8cfe20080a.zip
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.
Diffstat (limited to 'lisp/erc/erc-backend.el')
-rw-r--r--lisp/erc/erc-backend.el2
1 files changed, 1 insertions, 1 deletions
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.