Function: erc-move-to-prompt
erc-move-to-prompt is a byte-compiled function defined in
erc-goodies.el.gz.
Signature
(erc-move-to-prompt)
Documentation
Move the point to the ERC prompt if this is a self-inserting command.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defun erc-move-to-prompt ()
"Move the point to the ERC prompt if this is a self-inserting command."
(when (and erc-input-marker (< (point) erc-input-marker)
(eq 'self-insert-command this-command))
(deactivate-mark)
(push-mark)
(goto-char (point-max))))