Variable: erc-receive-query-display

erc-receive-query-display is a customizable variable 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.

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

Aliases

erc-auto-query(var)/erc-auto-query(fun)

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-receive-query-display 'window-noselect
  "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."
  :package-version '(ERC . "5.6")
  :group 'erc-buffers
  :group 'erc-query
  :type erc--buffer-display-choices)