Function: erc-bol

erc-bol is an interactive and byte-compiled function defined in erc.el.gz.

Signature

(erc-bol)

Documentation

Move point to the beginning of the current line.

This places point just after the prompt, or at the beginning of the line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
;; Movement of point

(defun erc-bol ()
  "Move `point' to the beginning of the current line.

This places `point' just after the prompt, or at the beginning of the line."
  (interactive)
  (forward-line 0)
  (when (get-text-property (point) 'erc-prompt)
    (goto-char erc-input-marker))
  (point))