diff options
author | Philip Kaludercic <philipk@posteo.net> | 2023-05-01 13:53:52 +0200 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2023-05-04 10:06:32 +0200 |
commit | ab44c8a6f9d7926a00dd1dfe49fa8ae07b5e7030 (patch) | |
tree | 1cabdff24163c60cc7a2869044c4f094ad023bfd | |
parent | 8eb6e33691d1c8e95e25e086e1b04669ea4fffdb (diff) | |
download | emacs-ab44c8a6f9d7926a00dd1dfe49fa8ae07b5e7030.tar.gz |
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.
-rw-r--r-- | lisp/net/rcirc.el | 4 |
1 files 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 |