]> git.eshelyaron.com Git - emacs.git/commit
Move line-number-at-pos to C
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Feb 2021 15:28:30 +0000 (16:28 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Feb 2021 15:28:34 +0000 (16:28 +0100)
commit56e76f0eb00d92b49ddd5757d0a68d09dc522d39
tree99a987cbdce101f56f7c82722079d08fb86a2b6b
parent5a4d50dfb136080fa2353461ee888d552da44a29
Move line-number-at-pos to C

* doc/lispref/positions.texi (Text Lines): Revert previous change.

* lisp/simple.el (line-number-at-pos): Remove definition.

* lisp/simple.el (count-lines): Revert back to using
`forward-line', because there seems to be a disagreement on how
lines should be counted in a region...

* src/fns.c (Fline_number_at_pos): Rename from
Fline_number_at_position and adjust parameter list.
doc/lispref/positions.texi
etc/NEWS
lisp/simple.el
src/fns.c
test/src/fns-tests.el