Function: erc-truncate-buffer

erc-truncate-buffer is an autoloaded, interactive and byte-compiled function defined in erc-truncate.el.gz.

Signature

(erc-truncate-buffer)

Documentation

Truncates the current buffer to erc-max-buffer-size.

Meant to be used in hooks, like erc-insert-post-hook.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-truncate.el.gz
;;;###autoload
(defun erc-truncate-buffer ()
  "Truncates the current buffer to `erc-max-buffer-size'.
Meant to be used in hooks, like `erc-insert-post-hook'."
  (interactive)
  (erc-truncate-buffer-to-size erc-max-buffer-size))