]> git.eshelyaron.com Git - emacs.git/commitdiff
Add line-number-at-pos.
authorKim F. Storm <storm@cua.dk>
Sat, 7 Feb 2004 01:03:03 +0000 (01:03 +0000)
committerKim F. Storm <storm@cua.dk>
Sat, 7 Feb 2004 01:03:03 +0000 (01:03 +0000)
etc/NEWS

index f2d912d2930af9e7c6f4110c318183c5b254f5b0..51088494f00862f9dc9feb2f16be5d83c2dd297e 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1802,6 +1802,11 @@ configuration files.
 \f
 * Lisp Changes in Emacs 21.4
 
++++
+** New function `line-number-at-pos' returns line number of current
+line in current buffer, or if optional buffer position is given, line
+number of corresponding line in current buffer.
+
 ** The default value of `sentence-end' is now defined using the new
 variable `sentence-end-without-space' which contains such characters
 that end a sentence without following spaces.