Variable: erc-auth-source-join-function

erc-auth-source-join-function is a customizable variable defined in erc.el.gz.

Value

erc-auth-source-search

Documentation

Function to query auth-source on joining a channel.

Called with a subset of keyword arguments known to auth-source-search and relevant to joining a password-protected channel. In return, ERC expects a string to use as the channel
"key", or nil to just join the channel normally. Setting the
option itself to nil tells ERC to always forgo consulting auth-source for channel keys. For more information, see Info node (erc) auth-source.

This variable was added, or its default value changed, in ERC version
5.5.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-auth-source-join-function #'erc-auth-source-search
  "Function to query auth-source on joining a channel.
Called with a subset of keyword arguments known to
`auth-source-search' and relevant to joining a password-protected
channel.  In return, ERC expects a string to use as the channel
\"key\", or nil to just join the channel normally.  Setting the
option itself to nil tells ERC to always forgo consulting
auth-source for channel keys.  For more information, see Info
node `(erc) auth-source'."
  :package-version '(ERC . "5.5")
  :group 'erc
  :type '(choice (function-item erc-auth-source-search)
                 (const nil)
                 function))