]> git.eshelyaron.com Git - emacs.git/commit
Make `line-number-at-pos' work more like in earlier Emacs versions
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 9 Jun 2022 12:42:31 +0000 (14:42 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 9 Jun 2022 12:43:40 +0000 (14:43 +0200)
commit39d2efbfae1dc081258a764f3c47f5f492f38fec
tree91d8c5ccbe4fa28a45626b1866fb7c1ed3bb4e7c
parent64b5fd2e435312346189852013c7504780f7c1d2
Make `line-number-at-pos' work more like in earlier Emacs versions

* src/fns.c (Fline_number_at_pos): Allow calling with position
outside the region if called with ABSOLUTE non-nil (bug#55847).
This isn't announced in the doc string, but makes function
compatible with the version in earlier Emacs versions.
src/fns.c