Function: erc-add-scroll-to-bottom
erc-add-scroll-to-bottom is a byte-compiled function defined in
erc-goodies.el.gz.
This function is obsolete since 30.1; use erc--scrolltobottom-setup
instead.
Signature
(erc-add-scroll-to-bottom)
Documentation
A hook function for erc-mode-hook to recenter output at bottom of window.
If you find that ERC hangs when using this function, try customizing
the value of erc-input-line-position.
Note that the prior suggestion comes from a time when this
function used window-scroll-functions, which was replaced by
post-command-hook in ERC 5.3.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defun erc-add-scroll-to-bottom ()
"A hook function for `erc-mode-hook' to recenter output at bottom of window.
If you find that ERC hangs when using this function, try customizing
the value of `erc-input-line-position'.
Note that the prior suggestion comes from a time when this
function used `window-scroll-functions', which was replaced by
`post-command-hook' in ERC 5.3."
(declare (obsolete erc--scrolltobottom-setup "30.1"))
(add-hook 'post-command-hook #'erc-scroll-to-bottom nil t))