erc-truncate-buffer

erc-truncate-buffer is an interactive autoloaded Lisp function in `erc-truncate.el'.


(erc-truncate-buffer)

Truncates the current buffer to `erc-max-buffer-size'.
Meant to be used in hooks, like `erc-insert-post-hook'.