Function: erc-display-line-1
erc-display-line-1 is a function alias for erc-insert-line, defined in
erc.el.gz.
This function is obsolete since 30.1; use erc-insert-line instead.
Signature
(erc-display-line-1 STRING BUFFER)
Documentation
Insert STRING in an erc-mode BUFFER.
When STRING is nil, do nothing. Otherwise, start off by running
erc-insert-pre-hook in BUFFER with erc-insert-this bound to
t. If the latter remains non-nil afterward, insert STRING into
BUFFER, ensuring a trailing newline. After that, narrow BUFFER
around STRING, along with its final line ending, and run
erc-insert-modify and erc-insert-post-hook, respectively. In
all cases, run erc-insert-done-hook unnarrowed before exiting,
and update positions in buffer-undo-list.
In general, expect to be called from a higher-level insertion
function, like erc-display-message, especially when modules
should consider STRING as a candidate for formatting with
enhancements like indentation, fontification, timestamping, etc.
Otherwise, when called directly, allow built-in modules to ignore
STRING, which may make it appear incongruous in situ (unless
preformatted or anticipated by third-party members of the various
modification hooks).
Aliases
erc-display-line-1 (obsolete since 30.1)