Variable: erc-before-connect

erc-before-connect is a customizable variable defined in erc.el.gz.

Value

nil

Documentation

Functions called before connecting to a server.

The functions in this variable gets executed before erc actually invokes erc-mode with your input data. The functions in here get called with three parameters, SERVER, PORT and NICK.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-before-connect nil
  "Functions called before connecting to a server.
The functions in this variable gets executed before `erc'
actually invokes `erc-mode' with your input data.  The functions
in here get called with three parameters, SERVER, PORT and NICK."
  :group 'erc-hooks
  :type '(repeat function))