emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 87d37e2: Fix thinko introduced in the last ERC patch (bug#47788)


From: Amin Bandali
Subject: master 87d37e2: Fix thinko introduced in the last ERC patch (bug#47788)
Date: Fri, 23 Apr 2021 18:50:38 -0400 (EDT)

branch: master
commit 87d37e279f464d5e2124ca1fe3b05f8cfe20080a
Author: Amin Bandali <bandali@gnu.org>
Commit: Amin Bandali <bandali@gnu.org>

    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 67db572..ea9f9a3 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]