[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master f117b5df4d: Add new functions eol and bol
From: |
Lars Ingebrigtsen |
Subject: |
Re: master f117b5df4d: Add new functions eol and bol |
Date: |
Fri, 19 Aug 2022 15:25:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Add new functions eol and bol
Bikeshed welcome about the names, though. I considered `point-bol', for
instance, but that's very similar to `point-at-bol' (which is an alias
for `line-beginning-position').
The nice thing about `point-bol' is that it'd be symmetric with
`point-min':
(goto-char (point-min))
(bobp) => t
vs
(goto-char (point-bol))
(bolp) => t