Variable: erc--check-prompt-input-functions

erc--check-prompt-input-functions is a variable defined in erc.el.gz.

Value

(erc--check-prompt-input-for-point-in-bounds
 erc--check-prompt-input-for-something
 erc--check-prompt-input-for-multiline-command
 erc--check-prompt-input-for-multiline-blanks
 erc--check-prompt-input-for-running-process
 erc--check-prompt-input-for-excess-lines)

Documentation

Validators for user input typed at prompt.

Called with two arguments: the current input submitted by the user, as a string, along with the same input as a list of strings. If any member function returns non-nil, ERC abandons processing and leaves pending input untouched in the prompt area. When the returned value is a string, ERC passes it to user-error. Any other non-nil value tells ERC to abort silently. If all members return nil, and the variable erc--check-prompt-explanation is a nonempty list of strings, ERC prints them as a single message joined by newlines.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defvar erc--check-prompt-input-functions
  '(erc--check-prompt-input-for-point-in-bounds
    erc--check-prompt-input-for-something
    erc--check-prompt-input-for-multiline-command
    erc--check-prompt-input-for-multiline-blanks
    erc--check-prompt-input-for-running-process
    erc--check-prompt-input-for-excess-lines)
  "Validators for user input typed at prompt.
Called with two arguments: the current input submitted by the
user, as a string, along with the same input as a list of
strings.  If any member function returns non-nil, ERC abandons
processing and leaves pending input untouched in the prompt area.
When the returned value is a string, ERC passes it to
`user-error'.  Any other non-nil value tells ERC to abort
silently.  If all members return nil, and the variable
`erc--check-prompt-explanation' is a nonempty list of strings,
ERC prints them as a single message joined by newlines.")