Function: erc-input-substxt

erc-input-substxt is a byte-compiled function defined in erc-common.el.gz.

Signature

(erc-input-substxt erc-input-substxt X)

Documentation

Access slot "substxt" of erc-input struct X.

Alternate string to insert without splitting. The function form is for internal use.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
(cl-defstruct erc-input
  "Object shared among members of `erc-pre-send-functions'.
Any use outside of the hook is not supported."
  ( string "" :type string
    :documentation "String to send and, without `substxt', insert.
ERC treats separate lines as separate messages.")
  ( insertp nil :type boolean
    :documentation "Whether to insert outgoing message.
When nil, ERC still sends `string'.")
  ( sendp nil :type boolean
    :documentation "Whether to send and (for compat reasons) insert.
To insert without sending, define a (slash) command.")
  ( substxt nil :type (or function string null)
    :documentation "Alternate string to insert without splitting.
The function form is for internal use.")
  ( refoldp nil :type boolean
    :documentation "Whether to resplit a possibly overlong `string'.
ERC only refolds `string', never `substxt'."))