Function: erc-ezb-select
erc-ezb-select is an autoloaded and byte-compiled function defined in
erc-ezbounce.el.gz.
Signature
(erc-ezb-select MESSAGE)
Documentation
Select an IRC server to use by EZBounce, in ERC style.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-ezbounce.el.gz
;;;###autoload
(defun erc-ezb-select (_message)
"Select an IRC server to use by EZBounce, in ERC style."
(unless (and erc-ezb-session-list
(erc-ezb-select-session))
(let* ((server (read-from-minibuffer
"IRC server: " "" nil nil 'erc-server-history-list))
(port
(erc-string-to-port
(read-from-minibuffer "IRC port: "
(erc-port-to-string "6667")))))
(erc-server-send (format "CONN %s %s" server port)))))