Function: pos-bol
pos-bol is a function defined in editfns.c.
Signature
(pos-bol &optional N)
Documentation
Return the position of the first character on the current line.
With optional argument N, scan forward N - 1 lines first. If the scan reaches the end of the buffer, return that position.
This function ignores text display directionality; it returns the
position of the first character in logical order, i.e. the smallest
character position on the logical line. See vertical-motion for
movement by screen lines.
This function does not move point. Also see line-beginning-position.
Other relevant functions are documented in the buffer group.
Probably introduced at or before Emacs version 29.1.
Shortdoc
;; buffer
(pos-bol)
=> 89
Aliases
Source Code
// Defined in /usr/src/emacs/src/editfns.c
{
return make_fixnum (bol (n, NULL));
}