emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 ab44c8a6f9d 3/3: Fix order of rcirc-connect arguments


From: Philip Kaludercic
Subject: emacs-29 ab44c8a6f9d 3/3: Fix order of rcirc-connect arguments
Date: Thu, 4 May 2023 04:06:50 -0400 (EDT)

branch: emacs-29
commit ab44c8a6f9d7926a00dd1dfe49fa8ae07b5e7030
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fix order of rcirc-connect arguments
    
    * lisp/net/rcirc.el (rcirc): Pass SERVER-ALIAS before CLIENT-CERT.
    (rcirc-connect): Take SERVER-ALIAS before CLIENT-CERT.
    
    This is necessary for the 'rcirc-reconnect' trick to work that applies
    the contents of 'rcirc-connection-info' to 'rcirc-connect', otherwise
    the server alias gets lost as certfp information.
    
    This addresses a change made in b79cb838a477ee5a5c3660e81264991ff833a82f.
---
 lisp/net/rcirc.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 937f4046adb..cf1b952086a 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -584,7 +584,7 @@ If ARG is non-nil, instead prompt for connection 
parameters."
                   (condition-case nil
                       (let ((process (rcirc-connect server port nick user-name
                                                     full-name channels 
password encryption
-                                                    client-cert server-alias)))
+                                                    server-alias client-cert)))
                         (when rcirc-display-server-buffer
                           (pop-to-buffer-same-window (process-buffer 
process))))
                     (quit (message "Quit connecting to %s"
@@ -680,7 +680,7 @@ See `rcirc-connect' for more details on these variables.")
 ;;;###autoload
 (defun rcirc-connect (server &optional port nick user-name
                              full-name startup-channels password encryption
-                             certfp server-alias)
+                             server-alias certfp)
   "Connect to SERVER.
 The arguments PORT, NICK, USER-NAME, FULL-NAME, PASSWORD,
 ENCRYPTION, CERTFP, SERVER-ALIAS are interpreted as in



reply via email to

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