Variable: erc-command-indicator

erc-command-indicator is a customizable variable defined in erc-goodies.el.gz.

Value

erc-prompt

Documentation

Pseudo prompt for echoed command lines.

An analog of the option erc-prompt(var)/erc-prompt(fun) that replaces the "speaker label" for echoed "slash" commands submitted at the prompt. A value of nil means ERC only inserts the command-line portion alone, without the prompt, which may trick certain modules, like fill, into treating the leading slash command itself as the message's speaker.

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

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defcustom erc-command-indicator 'erc-prompt
  "Pseudo prompt for echoed command lines.
An analog of the option `erc-prompt' that replaces the \"speaker
label\" for echoed \"slash\" commands submitted at the prompt.  A
value of nil means ERC only inserts the command-line portion
alone, without the prompt, which may trick certain modules, like
`fill', into treating the leading slash command itself as the
message's speaker."
  :package-version '(ERC . "5.6")
  :group 'erc-display
  :type '(choice (const :tag "Defer to `erc-prompt'" erc-prompt)
                 (const :tag "Print command lines without a prompt" nil)
                 (string :tag "User-provided string")
                 (function :tag "User-provided function")))