Variable: erc-interactive-display

erc-interactive-display is a customizable variable defined in erc.el.gz.

Value

window

Documentation

How to display buffers as a result of user interaction.

This affects commands like /QUERY and /JOIN when issued interactively at the prompt. It does not apply when calling a handler for such a command, like erc-cmd-JOIN, from Lisp code. See erc-buffer-display for a full description of available values.

When the value is a user-provided function, ERC may inject a hint about the invocation context as an extra item in the "action alist" included as part of the second argument. The item's key is the symbol erc-interactive-display and its value one of

  /QUERY, /JOIN, /RECONNECT, url, erc, or erc-tls.

All are symbols indicating an inciting user action, such as the issuance of a slash command, the clicking of a URL hyperlink, or the invocation of an entry-point command. See Info node (erc) display-buffer for more.

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

Aliases

erc-query-display

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defcustom erc-interactive-display 'window
  "How to display buffers as a result of user interaction.
This affects commands like /QUERY and /JOIN when issued
interactively at the prompt.  It does not apply when calling a
handler for such a command, like `erc-cmd-JOIN', from Lisp code.
See `erc-buffer-display' for a full description of available
values.

When the value is a user-provided function, ERC may inject a hint
about the invocation context as an extra item in the \"action
alist\" included as part of the second argument.  The item's key
is the symbol `erc-interactive-display' and its value one of

  `/QUERY', `/JOIN', `/RECONNECT', `url', `erc', or `erc-tls'.

All are symbols indicating an inciting user action, such as the
issuance of a slash command, the clicking of a URL hyperlink, or
the invocation of an entry-point command.  See Info node `(erc)
display-buffer' for more."
  :package-version '(ERC . "5.6")
  :group 'erc-buffers
  :type erc--buffer-display-choices)