Such a simple thing - finding the position of the beginning or end of the current line. I've been completely oblivious to the existence of the functions
They return the position of the beginning or end of the current line.
They both accept an optional argument, which has the same
meaning as the argument to beginning-of-line or end-of-line.
They were first introduced in Emacs 20, in the middle of 2006. Which means I've been unnecessarily typing this for 4 years: