Function: term-bol
term-bol is an interactive and byte-compiled function defined in
term.el.gz.
Signature
(term-bol ARG)
Documentation
Go to the beginning of line, then skip past the prompt, if any.
If a prefix argument is given (C-u (universal-argument)), then no prompt skip
-- go straight to column 0.
The prompt skip is done by skipping text matching the regular expression
term-prompt-regexp, a buffer local variable.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-bol (arg)
"Go to the beginning of line, then skip past the prompt, if any.
If a prefix argument is given (\\[universal-argument]), then no prompt skip
-- go straight to column 0.
The prompt skip is done by skipping text matching the regular expression
`term-prompt-regexp', a buffer local variable."
(interactive "P")
(beginning-of-line)
(when (null arg) (term-skip-prompt)))