Variable: erc-keep-place-mode
erc-keep-place-mode is a customizable variable defined in
erc-goodies.el.gz.
Value
nil
Documentation
Non-nil if Erc-Keep-Place mode is enabled.
See the erc-keep-place-mode(var)/erc-keep-place-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function erc-keep-place-mode(var)/erc-keep-place-mode(fun).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
;;; Keep place in unvisited channels
(define-erc-module keep-place nil
"Leave point above un-viewed text in other channels."
((add-hook 'erc-insert-pre-hook #'erc-keep-place))
((remove-hook 'erc-insert-pre-hook #'erc-keep-place)))