Variable: erc-auto-query
erc-auto-query is an alias and customizable for
erc-receive-query-display, defined in erc.el.gz.
Value
window-noselect
Documentation
If non-nil, create a query buffer each time you receive a private message.
If the buffer doesn't already exist, it is created.
This can be set to a symbol, to control how the new query window
should appear. The default behavior is to display the buffer in
a new window but not to select it. See the documentation for
erc-buffer-display for a description of available values.
Note that the legacy behavior of forgoing buffer creation
entirely when this option is nil requires setting the
compatibility flag erc-receive-query-display-defer to nil. Use
erc-ensure-target-buffer-on-privmsg to achieve the same effect.