]> git.eshelyaron.com Git - emacs.git/commit
Add new functions eol and bol
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 19 Aug 2022 13:22:29 +0000 (15:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 19 Aug 2022 13:22:36 +0000 (15:22 +0200)
commitf117b5df4dc69a38a5568c5926c1e417a35314eb
treed9967738c968ab723fc267de91052a14bb9501fc
parent503112d1f01d5239b53c86fea4e12d851c185572
Add new functions eol and bol

* doc/lispref/positions.texi (Text Lines): Document them
* lisp/emacs-lisp/shortdoc.el: Mention them, and also the
buffer/line predicates.

* src/editfns.c (bol): New function.
(Fbol): New defun.
(Fline_beginning_position): Use `bol'.
(eol): New function.
(Feol): New defun.
(Fline_end_position): Use `eol'.
doc/lispref/positions.texi
etc/NEWS
lisp/emacs-lisp/shortdoc.el
src/editfns.c